/**
 * ============================================
 * ELRAED PLATFORM - AUTH PAGES STYLES
 * ============================================
 * Egyptian-themed authentication pages styling
 * For login, signup, and registration forms
 */

/* ==================== AUTH PAGES - DARK THEME ==================== */
/* Note: All color variables are defined in modern-styles.css */
/* This file uses those variables for consistency */

/* ==================== MODERN LOGIN SHORTCODE STYLES ==================== */
.elraed-login-wrapper {
    min-height: 100vh;
    padding: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.elraed-login-wrapper .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.login-container {
    display: flex;
    flex-direction: row-reverse;
    max-width: 100%;
    width: 100%;
    min-height: 100vh;
    background: var(--bg-card);
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    animation: fadeInUp 0.6s ease-out;
}

/* Left Visual Panel */
.login-visual {
    width: 100%;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-tertiary) 100%);
    padding: 40px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    order: 1;
    border-right: 1px solid var(--border-color);
}

.login-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,128C672,128,768,160,864,165.3C960,171,1056,149,1152,128C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.1;
}

.visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.visual-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.visual-header p {
    font-size: 1rem;
    margin-bottom: 40px;
    color: var(--text-primary);
    font-weight: 500;
}

.visual-features {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
    grid-template-columns: 1fr;
}

.feature-item {
    text-align: center;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-secondary);
}

.visual-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    min-width: 100px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Right Form Panel */
.login-form-section {
    width: 100%;
    padding: 40px;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
    overflow-y: auto;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--bg-surface);
    padding: 6px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: var(--egyptian-blue);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.auth-tab:hover:not(.active) {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.auth-form-container {
    animation: fadeIn 0.4s ease;
}

.form-header {
    margin-bottom: 32px;
    text-align: center;
}

.form-header h2 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--bg-surface);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--egyptian-blue);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(47, 134, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.15rem;
    color: var(--egyptian-blue);
    margin-bottom: 20px;
    font-weight: 600;
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Checkbox Styles */
.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid #D0D0D0;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
}

.checkbox-label:hover .checkmark {
    border-color: var(--egyptian-blue);
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--egyptian-blue);
    border-color: var(--egyptian-blue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

/* Password options specific checkbox styles */
.password-options .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 28px;
    margin-bottom: 0;
    font-size: 0.85rem;
}

.password-options .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    display: block;
    flex-shrink: 0;
}

.password-options .checkmark:after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--egyptian-blue) 0%, var(--egyptian-blue-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(47, 134, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 134, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-full {
    width: 100%;
}

.btn-google,
.btn-facebook {
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 20px;
    width: 100px;
    height: 100px;
}

.btn-google:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
}

.btn-facebook:hover {
    background: #1877F2;
    color: var(--white);
    border-color: #1877F2;
}

/* Form Footer */
.form-footer {
    margin-top: 32px;
    text-align: center;
}

.form-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.form-links a {
    color: var(--egyptian-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.form-links a:hover {
    color: var(--egyptian-dark-blue);
    text-decoration: underline;
}

.divider {
    color: var(--text-light);
}

.password-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--egyptian-blue);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Benefits List */
.form-benefits {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.form-benefits h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.benefits-list svg {
    color: var(--egyptian-blue);
    flex-shrink: 0;
}

.benefits-list i {
    color: var(--egyptian-blue);
    font-size: 1rem;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-buttons .btn {
    flex: 1;
}

/* Instructor Benefits */
.instructor-benefits,
.instructor-dashboard-preview {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
}

.instructor-benefits h4,
.instructor-dashboard-preview h4 {
    font-size: 1.05rem;
    color: var(--egyptian-blue);
    margin-bottom: 16px;
    font-weight: 600;
}

.instructor-benefits ul,
.instructor-dashboard-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instructor-benefits li,
.instructor-dashboard-preview li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.instructor-benefits i,
.instructor-dashboard-preview i {
    color: var(--egyptian-gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-visual {
        display: none;
    }
    
    .login-form-section {
        padding: 40px 30px;
    }
    
    .elraed-login-wrapper {
        padding: 20px;
    }
    
    .login-container {
        border-radius: 24px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .elraed-login-wrapper {
        padding: 0;
    }
    
    .login-form-section {
        padding: 30px 20px;
    }
    
    .form-header h2 {
        font-size: 1.4rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .auth-tabs {
        flex-direction: column;
    }
    
    .login-container {
        border-radius: 0;
        min-height: 100vh;
    }
    
    /* Enhanced Responsive for Registration Forms */
    .signup-form-wrapper,
    .signin-form-wrapper,
    .reset-password-wrapper {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .form-header .header-icon,
    .reset-icon {
        width: 64px;
        height: 64px;
    }
    
    .form-header .header-icon svg,
    .reset-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .signup-form-wrapper .form-header h2,
    .signin-form-wrapper .form-header h2,
    .reset-header h2 {
        font-size: 1.4rem;
    }
    
    .signup-form-wrapper .form-header p,
    .signin-form-wrapper .form-header p,
    .reset-header p {
        font-size: 0.9rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
    }
    
    .instructor-benefits,
    .instructor-dashboard-preview,
    .help-section {
        padding: 20px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"],
    .form-group input[type="tel"],
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .elraed-student-signup,
    .elraed-student-signin,
    .elraed-instructor-signup,
    .elraed-instructor-signin,
    .elraed-reset-password {
        padding: 40px 16px;
    }
    
    .signup-form-wrapper,
    .signin-form-wrapper,
    .reset-password-wrapper {
        padding: 24px 20px;
    }
    
    .form-header .header-icon,
    .reset-icon {
        width: 56px;
        height: 56px;
    }
    
    .signup-form-wrapper .form-header h2,
    .signin-form-wrapper .form-header h2,
    .reset-header h2 {
        font-size: 1.3rem;
    }
    
    .form-section {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    
    .btn-google,
    .btn-facebook {
        width: 80px;
        height: 80px;
        padding: 10px;
    }
}

/* ==================== RESET PASSWORD STYLES ==================== */
.elraed-reset-password {
    padding: 60px 20px;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-password-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease-out;
}

.reset-header {
    text-align: center;
    margin-bottom: 40px;
}

.reset-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--egyptian-blue) 0%, var(--egyptian-blue-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(47, 134, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.reset-icon svg {
    color: var(--white);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(47, 134, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(47, 134, 255, 0.4);
    }
}

.reset-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.reset-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.reset-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reset-message i {
    font-size: 1.25rem;
}

.reset-message-success {
    background: rgba(40, 167, 69, 0.15);
    border: 2px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.reset-message-error {
    background: rgba(220, 53, 69, 0.15);
    border: 2px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.reset-password-form .form-group {
    margin-bottom: 32px;
}

.reset-password-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.reset-password-form label i {
    color: var(--egyptian-blue);
    font-size: 1.125rem;
}

.reset-password-form input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--bg-surface);
    color: var(--text-primary);
}

.reset-password-form input:focus {
    outline: none;
    border-color: var(--egyptian-blue);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(47, 134, 255, 0.15);
    transform: translateY(-2px);
}

.reset-password-form .form-actions {
    margin-top: 32px;
}

.reset-password-form .btn {
    padding: 16px 32px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reset-footer {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.back-to-login {
    text-align: center;
    margin-bottom: 32px;
}

.back-to-login a {
    color: var(--egyptian-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.back-to-login a:hover {
    color: var(--egyptian-blue-dark);
    text-decoration: underline;
    transform: translateX(5px);
}

.back-to-login i {
    transition: transform 0.3s ease;
}

.back-to-login a:hover i {
    transform: translateX(3px);
}

.help-section {
    background: var(--bg-surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.help-section h4 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.help-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.help-list li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.help-list i {
    color: var(--egyptian-blue);
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ==================== SIGNUP/SIGNIN FORM STYLES ==================== */
.elraed-student-signup,
.elraed-student-signin,
.elraed-instructor-signup,
.elraed-instructor-signin,
.elraed-reset-password {
    padding: 60px 20px;
    background: var(--bg-primary);
    min-height: 100vh;
}

.signup-form-wrapper,
.signin-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease-out;
}

.elraed-instructor-signup .signup-form-wrapper {
    max-width: 900px;
}

.social-signup,
.social-signin {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E8E8E8;
    text-align: center;
}

.social-signup p,
.social-signin p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* ==================== ENHANCED FORM HEADER STYLES ==================== */
.form-header .header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--egyptian-blue) 0%, var(--egyptian-blue-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(47, 134, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-header .header-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 32px rgba(47, 134, 255, 0.4);
}

.form-header .header-icon svg {
    color: var(--white);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.form-header .instructor-icon {
    background: linear-gradient(135deg, var(--egyptian-gold) 0%, #B8860B 100%);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.form-header .instructor-icon:hover {
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

.signup-form-wrapper .form-header,
.signin-form-wrapper .form-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.signup-form-wrapper .form-header::after,
.signin-form-wrapper .form-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--egyptian-blue), transparent);
}

.signup-form-wrapper .form-header h2,
.signin-form-wrapper .form-header h2 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.signup-form-wrapper .form-header p,
.signin-form-wrapper .form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Enhanced Form Section Headers */
.form-section h3 {
    font-size: 1.25rem;
    color: var(--egyptian-blue);
    margin-bottom: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--egyptian-blue), var(--egyptian-blue-dark));
    border-radius: 2px;
}

/* Enhanced Input Focus Effects */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--egyptian-blue);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(47, 134, 255, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Enhanced Labels */
.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--egyptian-blue);
}

/* Enhanced Form Hint */
.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
}

/* Enhanced Instructor Benefits */
.instructor-benefits,
.instructor-dashboard-preview {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-tertiary) 100%);
    padding: 28px;
    border-radius: 16px;
    margin-top: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.instructor-benefits:hover,
.instructor-dashboard-preview:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.instructor-benefits h4,
.instructor-dashboard-preview h4 {
    font-size: 1.1rem;
    color: var(--egyptian-gold);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructor-benefits ul,
.instructor-dashboard-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instructor-benefits li,
.instructor-dashboard-preview li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.instructor-benefits li:hover,
.instructor-dashboard-preview li:hover {
    transform: translateX(5px);
}

.instructor-benefits li:not(:last-child),
.instructor-dashboard-preview li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.instructor-benefits i,
.instructor-dashboard-preview i {
    color: var(--egyptian-gold);
    font-size: 1.125rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Enhanced Form Footer Links */
.form-footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 16px;
}

.form-footer a {
    color: var(--egyptian-blue);
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
}

.form-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--egyptian-blue);
    transition: width 0.3s ease;
}

.form-footer a:hover::after {
    width: 100%;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== ALERT / NOTICE STYLES ==================== */
.elraed-login-notice .alert {
    padding: 16px 24px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    border: 2px solid var(--egyptian-gold);
    color: var(--text-primary);
    text-align: center;
    font-size: 0.95rem;
}

.alert-info a {
    color: var(--egyptian-blue);
    font-weight: 600;
    text-decoration: none;
}

.alert-info a:hover {
    text-decoration: underline;
}

/* ==================== TUTOR LMS FORM OVERRIDE STYLES ==================== */
.elraed-login-wrapper .tutor-form-group {
    margin-bottom: 24px;
}

.elraed-login-wrapper .tutor-form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.elraed-login-wrapper .tutor-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    background: var(--bg-surface);
    color: var(--text-primary);
}

.elraed-login-wrapper .tutor-form-control:focus {
    outline: none;
    border-color: var(--egyptian-blue);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(47, 134, 255, 0.2);
}

.elraed-login-wrapper .tutor-button {
    background: linear-gradient(135deg, var(--egyptian-blue) 0%, var(--egyptian-blue-dark) 100%);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.elraed-login-wrapper .tutor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 134, 255, 0.4);
}

/* ===== RESPONSIVE TYPOGRAPHY OVERRIDES ===== */
:root {
    --fs-xs: clamp(0.7rem, 0.68rem + 0.18vw, 0.8rem);
    --fs-sm: clamp(0.8rem, 0.76rem + 0.25vw, 0.9rem);
    --fs-md: clamp(0.9rem, 0.85rem + 0.35vw, 1.0rem);
    --fs-lg: clamp(1.0rem, 0.95rem + 0.5vw, 1.2rem);
    --fs-xl: clamp(1.2rem, 1.1rem + 0.9vw, 1.6rem);
    --fs-2xl: clamp(1.5rem, 1.3rem + 1.5vw, 2.2rem);
    --fs-3xl: clamp(1.8rem, 1.4rem + 2.4vw, 2.8rem);
    --fs-4xl: clamp(2.2rem, 1.6rem + 3.0vw, 3.4rem);
}

.elraed-login-wrapper .visual-header h2,
.elraed-login-wrapper .form-header h2,
.signup-form-wrapper .form-header h2,
.signin-form-wrapper .form-header h2,
.reset-header h2 {
    font-size: var(--fs-2xl);
    line-height: 1.2;
}

.elraed-login-wrapper .visual-header p,
.elraed-login-wrapper .form-header p,
.signup-form-wrapper .form-header p,
.signin-form-wrapper .form-header p,
.reset-header p {
    font-size: var(--fs-md);
}

.elraed-login-wrapper .feature-item h4,
.form-section h3,
.instructor-benefits h4,
.instructor-dashboard-preview h4,
.help-section h4 {
    font-size: var(--fs-lg);
}

.elraed-login-wrapper .feature-item p,
.form-group label,
.form-hint,
.checkbox-label,
.benefits-list li,
.forgot-link,
.form-footer p,
.elraed-login-wrapper .tutor-form-label,
.help-list li {
    font-size: var(--fs-sm);
}

.stat-number {
    font-size: var(--fs-xl);
}

.stat-label {
    font-size: var(--fs-sm);
}

.auth-tab,
.btn,
.elraed-login-wrapper .tutor-button {
    font-size: var(--fs-sm);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select,
.elraed-login-wrapper .tutor-form-control,
.reset-password-form input {
    font-size: var(--fs-sm);
}

