.auth-container {
    display: flex;
    min-height: 100vh;
    background: #000000;
}

.auth-sidebar {
    flex: 1;

    background: radial-gradient(circle at 30% 50%, rgba(0, 194, 111, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(255, 60, 60, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0 0 L100 100" stroke="%23333" stroke-width="0.5"/><path d="M100 0 L0 100" stroke="%23333" stroke-width="0.5"/><circle cx="50" cy="50" r="2" fill="%23333" opacity="0.5"/><path d="M20 50 L80 50 M50 20 L50 80" stroke="%23333" stroke-width="0.3" opacity="0.7"/></svg>');
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.auth-brand {
    color: white;
    position: relative;
    z-index: 2;
}

.auth-brand h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-brand p {
    color: #cccccc;
    font-size: 1.1rem;
    font-weight: 300;
}
/* Logo Styles for Auth Pages */
.auth-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.mobile-logo {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    display: block;
    cursor: pointer;
}

.welcome-content {
    color: white;
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-bottom: 2rem;
}

.welcome-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.welcome-content p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
    max-width: 400px;
}

.auth-content {
    flex: 0 0 450px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.1);
}

.auth-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.mobile-header {
    display: none;
    text-align: center;
    margin-bottom: 2rem;
}

.mobile-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.mobile-header .page-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.mobile-header .brand-subtitle {
    color: #666666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mobile-header .page-subtitle {
    color: #666666;
    font-size: 1rem;
    line-height: 1.4;
}

.auth-card h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #000000;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    color: #666666;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000000;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: white;
    color: #000000;
    font-family: inherit;
}

.input-group input:focus {
    outline: 2px solid var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    border: 2px solid #e1e1e100;
}

.input-group input::placeholder {
    color: #999999;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #000000;
    color: white;
    border: 2px solid #000000;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    margin-top: 0.5rem;
    font-family: inherit;
}

.btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background-color: #666666;
    border-color: #666666;
    cursor: not-allowed;
    transform: none;
}

/* Google Sign-in Button */
.btn-google {
    width: 100%;
    padding: 14px;
    background-color: white;
    color: #000000;
    border: 2px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.btn-google:hover {
    background-color: #f8f9fa;
    border-color: #000000;
    transform: translateY(-1px);
}

/* Google Icon with proper multi-colored styling */
.btn-google .google-icon {
    width: 18px;
    height: 18px;
    background: conic-gradient(
        from -45deg,
        #ea4335 0deg 90deg,
        #4285f4 90deg 180deg,
        #34a853 180deg 270deg,
        #fbbc05 270deg 360deg
    );
    border-radius: 2px;
    position: relative;
}

/* Alternative: Use SVG or proper Font Awesome multi-color */
.btn-google .fa-google {
    background: conic-gradient(
        from -45deg,
        #ea4335 0% 25%,
        #4285f4 25% 50%,
        #34a853 50% 75%,
        #fbbc05 75% 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}




.divider {
    text-align: center;
    margin: 10px 0;
    position: relative;
    color: #666666;
    font-size: 0.9rem;
}

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

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .btn-google {
        margin-bottom: 1.5rem;
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 10px;
    }
    
    .divider {
        margin: 10px 0;
        font-size: 1rem;
    }

    .password-policy small {
        font-size: 0.55rem !important;
    }
}
.password-policy {
    margin-top: 0rem;
}

.password-policy small {
    color: #666666;
    font-size: 0.55rem;
    line-height: 1.4;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0; 
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 2px;
    min-width: 16px;
    min-height: 16px;
    accent-color: #000000;
}

.terms-checkbox label {
    color: #000000;
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
    cursor: pointer;
}

.terms-checkbox a {
    color: #000000;
    text-decoration: underline;
    font-weight: 600;
}

.terms-checkbox a:hover {
    color: #333333;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666666;
    font-size: 0.9rem;
}

.auth-link a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-link a:hover {
    text-decoration: underline;
    color: #333333;
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    padding: 12px;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    border-left: 4px solid #dc3545;
    font-size: 0.85rem;
    border: 1px solid #f5c6cb;
}

.password-match-error {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.password-match-error.show {
    opacity: 1;
}

.password-match-error i {
    font-size: 0.7rem;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        min-height: 100vh;
        background: white;
    }
    
    .auth-sidebar {
        display: none; /* Hide sidebar completely on mobile */
    }
    
    .auth-content {
        flex: 1;
        padding: 2rem 1.5rem;
        justify-content: flex-start;
        box-shadow: none;
        background: white;
        width: 100%;
    }
    
    .auth-card {
        max-width: 100%;
        padding-top: 1rem;
    }
    
    .mobile-header {
        display: block;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .mobile-header h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    .mobile-header .page-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .mobile-header .brand-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        color: #000000;
        font-weight: 500;
    }
    
    .mobile-header .page-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        color: #666666;
    }
    
    .auth-card h1 {
        display: none;
    }
    
    .subtitle {
        display: none;
    }
    
    .input-group {
        margin-bottom: 1.2rem;
    }
    
    .input-group input {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
    }
    
    .btn-primary, .btn-google {
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 10px;
        font-weight: 600;
    }
     
    
    .divider {
        margin: 10px 0;
        font-size: 1rem;
    }
    
    .auth-link {
        margin-top: 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .auth-content {
        padding: 1.5rem 1rem;
    }
    
    .mobile-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .mobile-header h1 {
        font-size: 2rem;
    }
    
    .mobile-header .page-title {
        font-size: 1.8rem;
    }
    
    .mobile-header .brand-subtitle {
        font-size: 1rem;
    }
    
    .mobile-header .page-subtitle {
        font-size: 0.95rem;
    }
    
    .input-group {
        margin-bottom: 1rem;
    }
    
    .input-group input {
        padding: 12px 14px;
    }
    
    .btn-primary, .btn-google {
        padding: 12px;
        min-height: 46px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .auth-content {
        padding: 1rem 0.8rem;
    }
    
    .mobile-header h1 {
        font-size: 1.8rem;
    }
    
    .mobile-header .page-title {
        font-size: 1.6rem;
    }
    
    .mobile-header .brand-subtitle {
        font-size: 0.9rem;
    }
    
    .mobile-header .page-subtitle {
        font-size: 0.9rem;
    }
}

/* Large desktop screens */
@media (min-width: 1440px) {
    .auth-content {
        flex: 0 0 500px;
        padding: 3rem;
    }
    
    .auth-card {
        max-width: 380px;
    }
    
    .auth-card h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .welcome-content h2 {
        font-size: 2.2rem;
    }
    
    .welcome-content p {
        font-size: 1.2rem;
    }
}


/* Smooth animations */
.welcome-content,
.auth-brand,
.auth-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Prevent horizontal scroll on mobile */
body {
    overflow-x: hidden;
}

/* Loading states for buttons */
.btn-primary:disabled,
.btn-google:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary .fa-spinner,
.btn-google .fa-spinner {
    margin-right: 8px;
}

/* Ensure proper spacing for loading states */
.btn-primary,
.btn-google {
    position: relative;
}

/* Prevent button text from shifting during loading */
.btn-primary,
.btn-google {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}