/* Authentication Section Styles */
.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8fafc;
    position: relative;
    z-index: 1;
    margin-top: 80px; /* Add margin to account for fixed header */
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    font-size: 2.25rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 700;
}

.auth-header p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a365d;
}

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

.input-group i {
    position: absolute;
    left: 1rem;
    color: #64748b;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: #1a365d;
    background: #f8fafc;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.remember-me, .terms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.remember-me input, .terms input {
    width: 1rem;
    height: 1rem;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #5a67d8;
}

.auth-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.auth-btn:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
    transform: translateY(-2px);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.9rem;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: white;
    color: #1a365d;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
}

.social-btn.google i {
    color: #ea4335;
}

.social-btn.github i {
    color: #333;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #4a5568;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #5a67d8;
}

/* Auth Benefits Section Modern UI */
.auth-benefits {
    padding: 3rem 0 2rem 0;
    background: #f8fafc;
}
.benefits-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}
.benefits-container h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 2.5rem;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    justify-items: center;
}
.benefit-item {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(102,126,234,0.07);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    min-width: 0;
}
.benefit-item:hover {
    box-shadow: 0 6px 18px rgba(102,126,234,0.13);
}
.benefit-icon {
    font-size: 2.2rem;
    color: #667eea;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(45deg, #e0e7ff, #f8fafc);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(102,126,234,0.08);
}
.benefit-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}
.benefit-item p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .auth-benefits {
        padding: 2rem 0 1rem 0;
    }
    .benefit-item {
        padding: 1.5rem 1rem 1rem 1rem;
    }
    .benefits-container h2 {
        font-size: 1.3rem;
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.75rem;
    }

    .social-auth {
        grid-template-columns: 1fr;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
} 

/* User Menu Styles */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a,
.user-dropdown button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
    border-radius: 0;
}

.user-dropdown a:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background-color: #f7fafc;
    color: #2d3748;
}

.logout-btn {
    border-top: 1px solid #e2e8f0 !important;
    color: #e53e3e !important;
    font-weight: 600;
}

.logout-btn:hover {
    background-color: #fed7d7 !important;
    color: #c53030 !important;
}

/* Loading spinner styles */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Form validation styles */
.input-group input.valid {
    border-color: #48bb78 !important;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

.input-group input.error {
    border-color: #f56565 !important;
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1);
}

.password-strength {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Disabled button styles */
.auth-btn:disabled,
.social-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.auth-btn:disabled:hover,
.social-btn:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
} 