._dash-loading {
  display: none;
}

body {
    user-select: none;
}

body {
    margin: 0;
    padding: 0;
  }

.expanding {
    animation: expand-contract 1.5s infinite;
}

@keyframes expand-contract {
    0% {
        width: 20px;
        height: 20px;
    }
    50% {
        width: 30px;
        height: 30px;
    }
    100% {
        width: 20px;
        height: 20px;
    }
}

@keyframes listening-animation {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.listening-dots {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin: 0 2px;
    border-radius: 50%;
    background-color: black;
    animation: listening-animation 0.8s infinite ease-in-out;
}

.dots-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Fullscreen wrappers ─────────────────────────────────────────────────── */

#forecast-fullscreen-wrapper:fullscreen,
#forecast-fullscreen-wrapper:-webkit-full-screen,
#historical-fullscreen-wrapper:fullscreen,
#historical-fullscreen-wrapper:-webkit-full-screen {
    background-color: #FFFFFF;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

#forecast-fullscreen-wrapper:fullscreen #forecast-container,
#forecast-fullscreen-wrapper:-webkit-full-screen #forecast-container,
#historical-fullscreen-wrapper:fullscreen #historical-container,
#historical-fullscreen-wrapper:-webkit-full-screen #historical-container {
    width: calc(100vw - 20px) !important;
    height: auto !important;
    max-height: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
}

#forecast-fullscreen-wrapper:fullscreen #forecast-graph,
#forecast-fullscreen-wrapper:-webkit-full-screen #forecast-graph,
#historical-fullscreen-wrapper:fullscreen #historical-graph,
#historical-fullscreen-wrapper:-webkit-full-screen #historical-graph {
    height: calc(100vh - 150px) !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    flex-grow: 1 !important;
}

#forecast-fullscreen-wrapper:fullscreen #forecast-total-numbers-container,
#forecast-fullscreen-wrapper:-webkit-full-screen #forecast-total-numbers-container,
#historical-fullscreen-wrapper:fullscreen #historical-total-numbers-container,
#historical-fullscreen-wrapper:-webkit-full-screen #historical-total-numbers-container {
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* ── Normal state (NOT in fullscreen) ────────────────────────────────────── */

#forecast-fullscreen-wrapper #forecast-container,
#historical-fullscreen-wrapper #historical-container {
    width: 100% !important;
    border-radius: 15px !important;
    padding: 20px !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15) !important;
}