body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
}

#dashboard {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#logo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
}

#logo {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo.blink {
    animation: blink 8s infinite alternate ease-in-out;
}

#logo-img {
    max-width: 100px; /* Further reduced */
    max-height: 100px;
    object-fit: contain;
}

@keyframes blink {
    0% { opacity: 0.3; }
    50% { opacity: 1.0; }
    100% { opacity: 0.3; }
}

#status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #002200; /* Dim green */
    transition: background-color 0.5s;
}

#node-errors {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 14px;
    color: #555555;
}

/* Earthquake Overlay */
#eq-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #aa0000;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#eq-title {
    font-size: 40px; /* Further reduced from 54px */
    margin: 0;
    font-weight: bold;
}

#eq-info {
    font-size: 20px; /* Further reduced from 28px */
    margin: 10px 0;
}

#eq-countdown-area {
    font-size: 60px; /* Further reduced from 80px */
    font-weight: bold;
}

/* Ticker */
#ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px; /* Further reduced from 55px */
    background-color: rgba(255, 100, 0, 0.9);
    z-index: 900;
    display: flex;
    align-items: center;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

#ticker.visible {
    transform: translateY(0);
}

#ticker-content {
    white-space: nowrap;
    font-size: 18px; /* Further reduced from 22px */
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200%); }
}

.hidden {
    display: none !important;
}
