/* ==========================================================================
   ORESS Forgot Password Page - Page-Specific Styles
   Base styles are in auth-base.css
   ========================================================================== */

/* No colour theme of its own (UI-10). This page was amber from top to bottom,
   and amber is the warning colour: resetting a password is not a warning. It
   takes the same blue as the other auth pages from auth-base.css; only the
   compact sizes below are its own. */

/* ==========================================================================
   Page-Specific Overrides
   ========================================================================== */
.auth-card {
    max-width: 460px;
}

/* Compact header */
.auth-header {
    padding: 1.5rem 2rem 1rem;
}

.auth-logo {
    width: 44px;
    height: 44px;
    /* An ink tile for the key icon: a dark surface, not a status colour. */
    background: #0b1f33;
    margin: 0 auto 0.75rem;
}

.auth-logo i {
    font-size: 1.25rem;
}

.auth-title {
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
}

.auth-subtitle {
    font-size: 0.85rem;
}

/* Body padding */
.auth-body {
    padding: 0.25rem 2rem 1.5rem;
}

/* ==========================================================================
   Tab Navigation (Forgot Password-specific)
   ========================================================================== */
.tab-nav {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--auth-radius-md);
    padding: 3px;
    margin-bottom: 1rem;
    position: relative;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.tab-btn:hover:not(.active) {
    color: var(--gray-700);
}

.tab-btn.active {
    background: white;
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.tab-btn i {
    font-size: 0.875rem;
}

/* ==========================================================================
   Tab Panels
   ========================================================================== */
.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Compact Form Fields
   ========================================================================== */
.form-group {
    margin-bottom: 0.75rem;
}

.form-label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.input-icon {
    left: 0.875rem;
    font-size: 0.875rem;
}

.form-input {
    padding: 0.625rem 0.875rem 0.625rem 2.25rem;
    font-size: 0.8125rem;
}

/* Field hint override */
.field-hint {
    font-size: 0.6875rem;
}

/* ==========================================================================
   Submit Button (compact)
   ========================================================================== */
.btn-submit {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ==========================================================================
   Footer (compact)
   ========================================================================== */
.auth-footer {
    padding: 1rem 2rem;
}

.auth-footer p {
    font-size: 0.875rem;
}

/* ==========================================================================
   Success Message (Forgot Password-specific)
   ========================================================================== */
.success-message {
    text-align: center;
    padding: 2rem 1rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.success-icon i {
    font-size: 1.5rem;
    color: var(--success);
}

.success-message h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.5rem;
}

.success-message p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ==========================================================================
   Responsive Design - Forgot Password Specific
   ========================================================================== */
@media (max-width: 480px) {
    .tab-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .tab-btn span {
        display: none;
    }

    .tab-btn i {
        font-size: 1rem;
    }
}
