/* =========================================
   AUTHENTICATION FLOW STYLES (Login, Forgot, Reset)
   ========================================= */

.auth-layout-container {
    min-height: 100vh;
    width: 100vw;
    background: url('../assets/image/auth_bg.svg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 440px;
}

.auth-header-wrapper {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header-title {
    font-size: 26px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.auth-header-subtitle {
    font-size: 13.5px;
    color: #64748B;
    margin: 0;
    line-height: 1.45;
}

.auth-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12), 0 4px 14px -2px rgba(15, 23, 42, 0.05);
    padding: 32px 28px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #E2E8F0;
    border-top: 3px solid #0F172A;
    animation: authCardEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authCardEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card {
        animation: none;
    }
}

.auth-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 24px 0;
    letter-spacing: -0.01em;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.auth-label {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}

.auth-label .required-star {
    color: #ef4444;
    margin-left: 2px;
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-size: 13.5px;
    color: #0F172A;
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input-wrapper .auth-input {
    padding-right: 42px;
}

.auth-input::placeholder {
    color: #94A3B8;
}

.auth-input:focus {
    border-color: #0F172A;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.auth-password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 4px;
    border-radius: 6px;
    color: #94A3B8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease !important;
    transform: none !important;
    box-shadow: none !important;
}

.auth-password-toggle:hover,
.auth-password-toggle:active {
    color: #0F172A;
    transform: none !important;
    box-shadow: none !important;
}

.auth-password-toggle svg {
    width: 18px;
    height: 18px;
}

.auth-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    user-select: none;
}

.auth-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #0F172A;
}

.auth-checkbox-label {
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}

.auth-btn-primary {
    width: 100%;
    height: 44px;
    background-color: #0F172A;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
}

.auth-btn-primary:hover {
    background-color: #1E293B;
    box-shadow: 0 6px 14px -2px rgba(15, 23, 42, 0.22);
    transform: translateY(-1px);
}

.auth-btn-primary:active {
    transform: translateY(0);
    background-color: #020617;
}

.auth-footer-link {
    text-align: center;
    font-size: 12.5px;
    color: #64748B;
    margin: 0;
}

.auth-link {
    color: #0F172A;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s;
}

.auth-link:hover {
    color: #1E293B;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #64748B;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
    margin-top: 4px;
}

.auth-back-link:hover {
    color: #0F172A;
}

.auth-arrow-icon,
.auth-back-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    stroke-width: 2.2;
}

/* Location-based Alert Message Themes */
.alert-message.error.hajipur-theme,
.alert-message.hajipur-theme {
    background: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
}

.alert-message.error.hajipur-theme i,
.alert-message.hajipur-theme i {
    color: #1e40af !important;
}
