body.auth-body {
    background-color: #f4f6fb;
    font-family: "Inter", sans-serif;
    min-height: 100vh;
}

.auth-wrapper {
    min-height: 100vh;
}

.auth-login {
    --auth-login-card-width: 428px;
    --auth-login-card-padding: 3rem;
    --auth-login-gap: 1.5rem;
}

.auth-login__card {
    max-width: var(--auth-login-card-width);
    padding: var(--auth-login-card-padding) calc(var(--auth-login-card-padding) + 0.5rem);
    border-radius: 24px;
}

.auth-login__heading img {
    height: 42px;
    margin-bottom: 1.5rem !important;
}

.auth-login__heading h1 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.auth-login__form-body {
    display: flex;
    flex-direction: column;
    gap: var(--auth-login-gap);
}

.auth-login__field .form-control {
    height: 56px;
}

.auth-login__cta .btn {
    height: 56px;
    border-radius: 16px;
}

.auth-login__remember {
    display: flex;
    align-items: center;
    margin-top: 0.25rem;
    margin-bottom: 1rem !important;
}

.auth-login__help a {
    font-size: 0.9rem;
}

@media (min-width: 992px) {
    .auth-login__illustration {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        padding: 0 2rem;
    }

    .auth-login__form {
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }
}

.bg-auth-illustration {
    background: #eef1f7;
    padding: 2rem;
    position: relative;
    min-height: 100vh;
}

.hero-graphic {
    width: 100%;
    max-width: 720px;
    max-height: 95vh;
    object-fit: contain;
    display: block;
}

.highlight-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.auth-card {
    max-width: 520px;
    border-radius: 28px;
    border: 1px solid #edf1ff;
    box-shadow: 0 25px 120px rgba(15, 23, 42, 0.08);
    background: #fff;
}

.auth-card .logo {
    height: 42px;
}

.form-label {
    color: #1f2937;
}

.form-control {
    border-radius: 16px;
    border-color: #e2e8f0;
    padding: 0.9rem 1.25rem;
}

.form-control:focus {
    border-color: #4c6ef5;
    box-shadow: 0 0 0 0.15rem rgba(76, 110, 245, 0.15);
}

.input-group-text {
    border-radius: 16px 0 0 16px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.input-group .form-control {
    border-radius: 0 16px 16px 0;
}

.phone-input .flag-icon {
    width: 28px;
    height: auto;
}

/* Phone Input Wrapper */
.phone-input-wrapper {
    position: relative;
}

.phone-input.overflow-visible {
    overflow: visible !important;
}

/* Country Selector Dropdown */
.country-selector {
    flex-shrink: 0;
    position: relative;
}

.country-selector .dropdown-toggle {
    border-radius: 16px 0 0 16px;
    background-color: #f5f8fa;
    min-width: 120px;
    height: 56px;
}

.country-selector .dropdown-toggle::after {
    display: none;
}

.country-selector .dropdown-toggle:hover,
.country-selector .dropdown-toggle:focus {
    background-color: #eef1f7;
}

.country-dropdown-menu {
    max-height: 320px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    min-width: 280px;
    padding: 0;
    z-index: 1050;
    position: absolute;
    top: 100%;
    left: 0;
}

.country-dropdown-menu .dropdown-search {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.country-dropdown-menu .dropdown-search .form-control {
    border-radius: 8px;
    height: 38px;
    font-size: 0.875rem;
}

.country-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 0.25rem 0;
}

.country-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.15s ease;
}

.country-item:hover,
.country-item:focus {
    background-color: #f5f8fa;
}

.country-item .flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.country-item .country-name {
    font-size: 0.9rem;
    color: #1f2937;
}

.phone-prefix-display {
    font-size: 0.95rem;
}

/* Phone Status Indicator */
.phone-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    transition: background-color 0.2s ease;
}

.phone-status:not(.valid):not(.invalid) {
    background-color: #9ca3af;
}

.phone-status:not(.valid):not(.invalid)::before {
    content: '?';
}

.phone-status.valid {
    background-color: #2eb85c;
}

.phone-status.valid::before {
    content: '✔';
}

.phone-status.invalid {
    background-color: #d14343;
}

.phone-status.invalid::before {
    content: '✖';
}

.phone-status.empty {
    background-color: #9ca3af;
}

.phone-status.empty::before {
    content: '?';
}

.password-field .toggle-password {
    border: none;
    border-left: 0;
    border-radius: 0 16px 16px 0;
    font-weight: 600;
    color: #4c6ef5;
}

.password-field .toggle-password:focus {
    box-shadow: none;
}

.password-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background-color: #d14343;
}

.password-status::before {
    content: '✖';
}

.password-status.valid {
    background-color: #2eb85c;
}

.password-status.valid::before {
    content: '✔';
}

.password-status.invalid {
    background-color: #d14343;
}

.password-status.invalid::before {
    content: '✖';
}

.btn-primary {
    border-radius: 16px;
    box-shadow: 0 18px 30px rgba(76, 110, 245, 0.25);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.15rem rgba(76, 110, 245, 0.4);
}

@media (max-width: 991.98px) {
    .auth-card {
        border-radius: 0;
        max-width: 100%;
        box-shadow: none;
        border: none;
    }

    .auth-wrapper {
        background: #fff;
    }

    .auth-login__card {
        padding: 2.5rem 1.75rem;
        border-radius: 0;
        max-width: 100%;
    }
}

