/* Critical CSS - Above the fold styles only */

/* Loading spinner overlay - Critical for UX */
.loading-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(3px) !important;
    transition: opacity 0.2s ease-in-out !important;
}

.loading-overlay.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top: 8px solid #00ff88 !important;
    border-right: 8px solid #00d4aa !important;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #00ff88 !important;
    margin-top: 25px;
    font-size: 22px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
    letter-spacing: 1px;
}

/* Essential navbar gradient styling */
.navbar-brand-gradient {
    background: linear-gradient(135deg, #20b2aa, #32cd32, #7fffd4) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.nav-gradient {
    background: linear-gradient(135deg, #20b2aa, #32cd32, #7fffd4) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Language selector positioning */
.language-selector {
    top: 70px !important;
    right: 10px !important;
}

@media (max-width: 767px) {
    .language-selector {
        top: 65px !important;
        right: 5px !important;
    }
}