/* Auth Page Styles */

/* Auth header responsive layout */
header.auth-header,
.auth-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.auth-header .container,
.auth-header nav,
.auth-header .navbar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
}

/* Responsive logo sizing (clamped) */
.auth-header .logo img,
.auth-header img[class*="logo"] {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: clamp(120px, 38vw, 200px) !important; /* never too big/small */
    object-fit: contain !important;
}

/* Ensure nav items wrap and don't force overflow */
.auth-header .nav,
.auth-header .nav-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.auth-header .nav-list li a {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

/* Auth header responsive layout */
header.auth-header,
.auth-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.auth-header .container,
.auth-header nav,
.auth-header .navbar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
}

/* Responsive logo sizing (clamped) */
.auth-header .logo img,
.auth-header img[class*="logo"] {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: clamp(120px, 38vw, 200px) !important; /* never too big/small */
    object-fit: contain !important;
}

/* Ensure nav items wrap and don't force overflow */
.auth-header .nav,
.auth-header .nav-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.auth-header .nav-list li a {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}
.auth-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Auth Navigation */
.auth-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.auth-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-nav .nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.5rem;
}

.auth-nav .logo-img {
    height: 40px;
    margin-right: 0.5rem;
}

.auth-nav .nav-links {
    display: flex;
    gap: 2rem;
}

.auth-nav .nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-nav .nav-link:hover {
    color: #0f172a;
}

/* Auth Container */
.auth-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    overflow: hidden;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.04);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(15, 23, 42, 0.08);
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-icon:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Auth Content */
.auth-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
}

.auth-tab {
    flex: 1;
    padding: 1.5rem;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-tab.active {
    background: white;
    color: #667eea;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.auth-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

/* Form Container */
.auth-form-container {
    display: none;
    padding: 2rem;
}

.auth-form-container.active {
    display: block;
}

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

.auth-header h2 {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
    font-size: 1rem;
}

/* Form Styles */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label,
.auth-form-container .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333 !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: #667eea;
    width: 16px;
}

.auth-form .form-group input,
.auth-form .form-group select,
.auth-form-container .form-group input,
.auth-form-container .form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white !important;
    color: #333 !important;
}

.auth-form .form-group input:focus,
.auth-form .form-group select:focus,
.auth-form-container .form-group input:focus,
.auth-form-container .form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    color: #333 !important;
    background: white !important;
}

.auth-form .form-group input::placeholder,
.auth-form .form-group select::placeholder,
.auth-form-container .form-group input::placeholder,
.auth-form-container .form-group select::placeholder {
    color: #999 !important;
    opacity: 1;
}

.auth-form .form-group input::-webkit-input-placeholder,
.auth-form-container .form-group input::-webkit-input-placeholder {
    color: #999 !important;
}

.auth-form .form-group input::-moz-placeholder,
.auth-form-container .form-group input::-moz-placeholder {
    color: #999 !important;
    opacity: 1;
}

.auth-form .form-group input:-ms-input-placeholder,
.auth-form-container .form-group input:-ms-input-placeholder {
    color: #999 !important;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #e74c3c;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background: #e74c3c;
}

.strength-fill.fair {
    width: 50%;
    background: #f39c12;
}

.strength-fill.good {
    width: 75%;
    background: #f1c40f;
}

.strength-fill.strong {
    width: 100%;
    background: #27ae60;
}

.strength-text {
    font-size: 0.8rem;
    color: #666;
}

.form-error {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.2em;
}

.form-success {
    color: #27ae60;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Buttons */
.auth-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.auth-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.auth-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.auth-btn.secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.auth-btn.secondary:hover {
    transform: translateY(-2px);
    background: rgba(102, 126, 234, 0.06);
    border-color: rgba(102, 126, 234, 0.35);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
    z-index: 1;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

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

.social-btn {
    padding: 0.875rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.social-btn.google:hover {
    border-color: #db4437;
    color: #db4437;
}

.social-btn.facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

/* Add new auth image section */
.auth-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.auth-logo-display {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.auth-logo-display:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.auth-image-text {
    margin-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.auth-image-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.auth-image-text p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Features Sidebar */
.auth-features {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
}

.auth-features h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal .modal-content {
    background: white;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal .modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal .modal-header h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal .modal-body {
    padding: 1.5rem 2rem 2rem;
}

.modal .modal-body p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Forgot Password Specific Styles */
.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
    text-align: center;
}

.reset-instructions {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 0.95rem;
}

.instruction-item:last-child {
    margin-bottom: 0;
}

.instruction-item i {
    color: #10b981;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.auth-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #6366f1;
    text-decoration: underline;
}

/* Loading states */
.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .auth-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .auth-image-section {
        order: -1;
        padding: 1.5rem;
    }
    
    .auth-logo-display {
        max-width: 200px;
    }
    
    .auth-features {
        order: -1;
    }
    
    .auth-nav .nav-links {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-auth {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 5rem 1rem 1rem;
    }
    
    .auth-card {
        border-radius: 15px;
    }
    
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .auth-features {
        padding: 1.5rem;
    }
}
.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: #667eea;
    width: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

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

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #e74c3c;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background: #e74c3c;
}

.strength-fill.fair {
    width: 50%;
    background: #f39c12;
}

.strength-fill.good {
    width: 75%;
    background: #f1c40f;
}

.strength-fill.strong {
    width: 100%;
    background: #27ae60;
}

.strength-text {
    font-size: 0.8rem;
    color: #666;
}

.form-error {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Buttons */
.auth-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.auth-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.auth-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
    z-index: 1;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

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

.social-btn {
    padding: 0.875rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.social-btn.google:hover {
    border-color: #db4437;
    color: #db4437;
}

.social-btn.facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

/* Features Sidebar */
.auth-features {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
}

.auth-features h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal .modal-content {
    background: white;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal .modal-header {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal .modal-header h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal .modal-body {
    padding: 1.5rem 2rem 2rem;
}

.modal .modal-body p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .auth-features {
        order: -1;
    }
    
    .auth-nav .nav-links {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .social-auth {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 5rem 1rem 1rem;
    }
    
    .auth-card {
        border-radius: 15px;
    }
    
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .auth-features {
        padding: 1.5rem;
    }
}
.form-help {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.25rem;
    font-style: italic;
}

.form-group .form-help {
    margin-bottom: 0;
}

/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  min-width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: slideIn 0.3s ease-out;
}

.notification.success {
  background-color: #28a745;
}

.notification.error {
  background-color: #dc3545;
}

.notification.info {
  background-color: #17a2b8;
}

.notification-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

body.auth-body {
    background: radial-gradient(1200px 700px at 12% 10%, rgba(99, 102, 241, 0.45), rgba(99, 102, 241, 0) 60%),
                radial-gradient(900px 600px at 85% 20%, rgba(236, 72, 153, 0.25), rgba(236, 72, 153, 0) 55%),
                radial-gradient(900px 700px at 70% 95%, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0) 55%),
                linear-gradient(180deg, #070A13 0%, #0B1020 55%, #070A13 100%);
}

.auth-header.navbar {
    background: rgba(7, 10, 19, 0.55) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-container {
    padding: 2.5rem 1.25rem 2rem;
}

.auth-background {
    background: transparent;
}

.floating-elements,
.auth-overlay {
    display: none;
}

.auth-content {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 460px);
    gap: 2.25rem;
    align-items: stretch;
}

.auth-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.auth-tabs {
    padding: 0.75rem;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.06);
}

.auth-tab {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    color: rgba(15, 23, 42, 0.78);
}

.auth-tab.active {
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.10);
}

.auth-form-container {
    padding: 2.25rem;
}

.auth-form {
    max-width: 420px;
}

.auth-header h2 {
    color: #0f172a;
    font-size: 2.1rem;
    letter-spacing: -0.02em;
}

.auth-header p {
    color: rgba(15, 23, 42, 0.62);
}

.auth-form .form-group label,
.auth-form-container .form-group label {
    color: rgba(15, 23, 42, 0.82) !important;
}

.form-group label i {
    color: #4f46e5;
}

.auth-form .form-group input,
.auth-form .form-group select,
.auth-form-container .form-group input,
.auth-form-container .form-group select {
    border: 1px solid rgba(15, 23, 42, 0.14) !important;
    background: rgba(248, 250, 252, 0.98) !important;
    color: #0f172a !important;
    border-radius: 14px;
    padding: 0.95rem 1rem;
}

.auth-form .form-group input:focus,
.auth-form .form-group select:focus,
.auth-form-container .form-group input:focus,
.auth-form-container .form-group select:focus {
    border-color: rgba(79, 70, 229, 0.65) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
    background: rgba(255, 255, 255, 0.98) !important;
}

.password-toggle {
    color: rgba(15, 23, 42, 0.55);
}

.password-toggle:hover {
    color: #4f46e5;
}

.auth-btn.primary {
    border-radius: 14px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%);
    box-shadow: 0 16px 30px rgba(79, 70, 229, 0.28);
}

.auth-btn.primary:hover {
    box-shadow: 0 22px 40px rgba(79, 70, 229, 0.34);
}

.auth-btn.secondary {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.16);
}

.auth-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(79, 70, 229, 0.35);
}

.forgot-link,
.terms-link {
    color: #4f46e5;
}

.forgot-link:hover,
.terms-link:hover {
    color: #4338ca;
}

.auth-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background-image: url('../assets/images/log.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.auth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.78) 0%, rgba(2, 6, 23, 0.58) 40%, rgba(2, 6, 23, 0.35) 100%);
}

.auth-hero::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: radial-gradient(700px 500px at 15% 15%, rgba(99, 102, 241, 0.55), rgba(99, 102, 241, 0) 60%),
                radial-gradient(700px 520px at 85% 25%, rgba(236, 72, 153, 0.32), rgba(236, 72, 153, 0) 55%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.85;
}

.auth-hero-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    color: rgba(255, 255, 255, 0.92);
}

.auth-hero-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.auth-hero-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.auth-hero-name {
    font-size: 1.05rem;
}

.auth-hero-title {
    margin: 0;
    font-size: 2.6rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    max-width: 18ch;
    text-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.auth-hero-subtitle {
    margin: 0.25rem 0 0;
    max-width: 52ch;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.auth-hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 0.75rem;
}

.auth-hero-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
}

.auth-hero-point i {
    margin-top: 0.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.auth-hero-point span {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.35;
}

.auth-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.auth-hero-stat {
    padding: 1rem 1rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.auth-hero-stat-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.auth-hero-stat-label {
    margin-top: 0.15rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 768px) {
    .auth-container {
        padding: 1.25rem 1rem 1.25rem;
    }

    .auth-hero {
        min-height: 460px;
    }

    .auth-hero-title {
        font-size: 2.2rem;
    }

    .auth-form-container {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .auth-hero-inner {
        padding: 1.5rem;
    }

    .auth-hero-title {
        font-size: 1.95rem;
    }

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