.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: #e5effa;
}

.auth-page__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 56rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #004ca4;
    text-decoration: none;
    transition: opacity 0.2s;
}

.auth-home-link:hover {
    opacity: 0.85;
}

.auth-card {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 76, 164, 0.15);
    background: #fff;
}

@media (min-width: 1024px) {
    .auth-card {
        grid-template-columns: 1fr 1fr;
        min-height: 28rem;
    }
}

.auth-side-panel {
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 12rem;
}

.auth-side-panel__bg {
    position: absolute;
    inset: 0;
    background-image: url(/images/defaultBg.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
}

.auth-side-panel__banner {
    position: absolute;
    inset: 0;
    background-image: url(/images/BanerLogin2%201.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.auth-side-panel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 76, 164, 0.82) 0%, rgba(0, 76, 164, 0.65) 100%);
}

.auth-side-panel__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .auth-side-panel__content {
        padding: 3rem 2rem;
    }
}

.auth-side-panel__icon-wrap {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .auth-side-panel__icon-wrap {
        width: 7rem;
        height: 7rem;
    }
}

.auth-side-panel__text {
    font-size: 0.875rem;
    line-height: 1.8;
    max-width: 16rem;
    opacity: 0.95;
}

@media (min-width: 1024px) {
    .auth-side-panel__text {
        font-size: 1rem;
    }
}

.auth-form-panel {
    background: #fff;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1024px) {
    .auth-form-panel {
        padding: 2.5rem 2.5rem;
    }
}

.auth-form-panel__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #004ca4;
    margin-bottom: 0.5rem;
}

.auth-form-panel__subtitle {
    font-size: 0.875rem;
    color: #858585;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.auth-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    text-align: center;
    background: #f5f5f5;
    border: 1px solid #e1e1e1;
    border-radius: 0.75rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
    border-color: #004ca4;
    box-shadow: 0 0 0 3px rgba(0, 76, 164, 0.12);
}

.auth-btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    background: #004ca4;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-btn-primary:hover:not(:disabled) {
    opacity: 0.9;
}

.auth-btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-btn-secondary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    background: #fff;
    color: #404040;
    font-weight: 700;
    font-size: 0.9375rem;
    border: 1px solid #e1e1e1;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-btn-secondary:hover {
    background: #e5effa;
}

.auth-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: #858585;
}

.auth-otp-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.auth-otp-box {
    width: 2.75rem;
    height: 2.75rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    background: #f5f5f5;
    border: 1px solid #e1e1e1;
    border-radius: 0.625rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

@media (min-width: 640px) {
    .auth-otp-box {
        width: 3rem;
        height: 3rem;
    }
}

.auth-otp-box:focus {
    border-color: #004ca4;
    box-shadow: 0 0 0 3px rgba(0, 76, 164, 0.12);
}

.auth-timer {
    text-align: center;
    font-size: 0.8125rem;
    color: #858585;
    margin-bottom: 1.25rem;
}

.auth-timer__value {
    color: #fbaa28;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.auth-resend {
    text-align: center;
    font-size: 0.8125rem;
    color: #858585;
    margin-top: 1rem;
}

.auth-resend button {
    color: #004ca4;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.auth-resend button:disabled {
    color: #d0d0d0;
    cursor: not-allowed;
}

.auth-loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
}

.auth-loading-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 18rem;
}

.auth-spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid #e5effa;
    border-top-color: #004ca4;
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
}

.auth-spinner-sm {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}
