body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@keyframes marquee-vertical {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

.animate-marquee-vertical {
    animation: marquee-vertical 20s linear infinite;
}

.mask-fade {
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

/* Professional Side Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.side-decoration {
    position: fixed;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
}

.gear-animation {
    top: 5%;
    right: 2%;
    animation: rotate-slow 30s linear infinite;
}

.dot-grid {
    bottom: 10%;
    left: 2%;
    animation: float 8s ease-in-out infinite;
}

/* High-Tech Data Streams */
@keyframes stream {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.data-stream {
    position: fixed;
    top: 0;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #3b82f6, transparent);
    z-index: -1;
    pointer-events: none;
}

.stream-1 { left: 5%; animation: stream 8s linear infinite; }
.stream-2 { left: 10%; animation: stream 12s linear infinite; animation-delay: 2s; }
.stream-3 { left: 15%; animation: stream 10s linear infinite; animation-delay: 1s; }
.stream-4 { right: 5%; animation: stream 9s linear infinite; animation-delay: 3s; }
.stream-5 { right: 10%; animation: stream 11s linear infinite; animation-delay: 0.5s; }
.stream-6 { right: 15%; animation: stream 13s linear infinite; animation-delay: 4s; }

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.05), transparent);
    z-index: -1;
    animation: scanline 10s linear infinite;
    pointer-events: none;
}

/* Glow Sphere for ambient background */
.glow-sphere {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Refined Auth Modal Styles */
.auth-container {
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#auth-overlay {
    will-change: transform;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    border-radius: 2rem;
}

#auth-overlay div {
    background-size: cover;
    background-position: center;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

#auth-overlay h2 {
    font-size: 1.5rem; /* Reduced from 1.875rem */
    line-height: 2rem;
}

#auth-overlay p {
    font-size: 0.75rem; /* Reduced from 0.875rem */
}

#forms-container {
    will-change: transform;
}

/* Glassmorphism for forms */
.auth-form-pane, .auth-container > div {
    background: rgba(255, 255, 255, 0.05);
}

/* Custom indicator for inner tabs (Employee/Admin) */
#left-tab-indicator {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Input Densities */
input {
    transition: all 0.3s ease;
}

input:not([type="date"]) {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

input:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .auth-container {
        height: auto;
        flex-direction: column;
    }
    #auth-overlay {
        display: none;
    }
    .w-1\/2 {
        width: 100%;
    }
    #forms-container {
        flex-direction: column;
    }
}
