* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, .22), transparent 36%),
        linear-gradient(135deg, #18287F 0%, #111827 55%, #0f172a 100%);
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 18px;
}

.auth-card {
    width: 100%;
    max-width: 1120px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .28);
}

.auth-card > .row {
    min-height: 690px;
}

.brand-panel {
    height: 100%;
    min-height: 690px;
    color: #fff;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at top left, #3b82f6, transparent 34%),
        linear-gradient(180deg, #2141ff 0%, #18287F 42%, #0f172a 100%);
}

.login-panel {
    height: 100%;
    min-height: 690px;
    padding: 58px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.brand-logo {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, .18);
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    background: rgba(255, 255, 255, .12);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

.brand-panel h1 {
    font-size: 44px;
    font-weight: 850;
    line-height: 1.08;
    margin-bottom: 20px;
}

.brand-panel p {
    font-size: 16px;
    line-height: 1.75;
    opacity: .92;
    max-width: 480px;
}

.feature-list {
    margin-top: 36px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 15px;
}

.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .13);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.login-panel h2 {
    font-size: 36px;
    font-weight: 850;
    color: #111827;
    margin-bottom: 8px;
}

.text-muted-custom {
    color: #6b7280;
    font-size: 14px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.form-control {
    height: 48px;
    border-radius: 13px;
    border: 1px solid #d1d5db;
    padding: 0 14px;
    font-size: 14px;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: #18287F;
    box-shadow: 0 0 0 4px rgba(24, 40, 127, .10) !important;
}

.btn-primary-core {
    height: 52px;
    border-radius: 14px;
    background: #18287F;
    border: none;
    font-weight: 700;
    color: #fff;
}

.btn-primary-core:hover {
    background: #111d63;
    color: #fff;
}

.btn-primary-core:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: .75;
}

.register-section {
    margin-top: 30px;
}

.btn-outline-core {
    margin-top: 12px;
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #18287F;
    color: #18287F;
    font-weight: 700;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline-core:hover {
    background: #18287F;
    color: #fff;
}

.mini-note {
    font-size: 13px;
    color: #6b7280;
}

.future-note {
    margin-top: 32px;
    font-size: 13px;
    line-height: 1.7;
    color: #6b7280;
}

.form-feedback {
    font-size: 12px;
    margin-top: 6px;
    min-height: 16px;
}

.form-feedback.ok {
    color: #198754;
}

.form-feedback.bad {
    color: #dc3545;
}

.input-ok {
    border-color: #198754 !important;
}

.input-bad {
    border-color: #dc3545 !important;
}

.alert {
    border-radius: 14px;
    font-size: 14px;
}

hr {
    border-color: #d1d5db;
    opacity: .8;
}

@media (max-width: 991px) {
    .auth-wrapper {
        padding: 24px 14px;
    }

    .auth-card > .row,
    .brand-panel,
    .login-panel {
        min-height: auto;
    }

    .brand-panel,
    .login-panel {
        padding: 42px 30px;
    }

    .brand-panel h1 {
        font-size: 34px;
    }

    .login-panel h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .auth-card {
        border-radius: 22px;
    }

    .brand-panel,
    .login-panel {
        padding: 34px 24px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .brand-panel h1 {
        font-size: 30px;
    }
}

.auth-card > .row {
    display: flex;
    align-items: stretch;
}

.auth-card > .row > [class*="col-"] {
    display: flex;
}

.brand-panel,
.login-panel {
    width: 100%;
}