/* =========================================
   Authentication Pages
   ========================================= */

.auth-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafb;
    padding: 2rem 0;
}

.auth-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(14, 74, 103, 0.08);
    /* Deep Blue shadow */
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.auth-header h3 {
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 1.75rem;
    letter-spacing: 0.5px;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.auth-body {
    padding: 2.5rem;
}

.auth-form-label {
    font-weight: 600;
    color: var(--primary-deep);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.auth-input {
    height: 50px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    padding: 0 1.25rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.2s ease;
    background-color: #fcfcfc;
}

.auth-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(31, 166, 160, 0.1);
    background-color: white;
}

.auth-btn {
    height: 50px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    background: var(--primary);
    border: none;
    transition: all 0.3s ease;
    color: white;
}

.auth-btn:hover,
.auth-btn:focus,
.auth-btn:active {
    background: var(--primary-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 166, 160, 0.3);
    color: white !important;
}

.auth-footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer-text a:hover {
    color: var(--primary-deep);
    text-decoration: underline;
}

/* Auth Error Messages */
.auth-error-alert {
    background-color: #fff5f5;
    border-left: 4px solid #dc3545;
    color: #c53030;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-field-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.auth-field-error::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}