/* PWA Loading Screen and Session Placeholder Styles */
/* Lightweight, CSS-only loading indicators */

/* Initial loading screen overlay - hides when Dash renders */
#pwa-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

#pwa-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pwa-loading-content {
    text-align: center;
    color: #E5E7EB;
}

.pwa-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: pwa-spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes pwa-spin {
    to { transform: rotate(360deg); }
}

.pwa-loading-text {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #9CA3AF;
}

/* Session data loading placeholder - appears when Dash is loading session data */
.pwa-session-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    backdrop-filter: blur(4px);
}

.pwa-session-loading.active {
    display: flex;
}

.pwa-session-content {
    text-align: center;
    color: #E5E7EB;
    padding: 20px;
}

.pwa-session-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: pwa-spin 0.6s linear infinite;
    margin: 0 auto 16px;
}

.pwa-session-text {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #9CA3AF;
}























