body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

.map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #1a2980, #26d0ce);
}

svg {
    display: block;
    width: 100%;
    height: 100%;
}

.time-label {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 16px;
    background-color: rgba(0, 0, 51, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 1000;
}

.map-border {
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 1;
    fill: none;
}

.country {
    fill: rgba(255, 255, 255, 0.9);
    stroke: rgba(0, 0, 139, 0.6);
    stroke-width: 0.5;
    transition: fill 0.3s;
}

.country:hover {
    fill: rgba(220, 220, 255, 1);
    stroke: rgba(0, 0, 139, 1);
    stroke-width: 1;
}

.terminator {
    fill: rgba(0, 0, 0, 0.35);
    stroke: rgba(255, 215, 0, 0.5);
    stroke-width: 1;
    stroke-dasharray: 5, 3;
    pointer-events: none; /* Allows interaction with countries beneath the terminator */
}

.country-label {
    pointer-events: none;
    z-index: 1000;
}

.sun-zenith {
    filter: drop-shadow(0 0 10px rgba(255, 255, 0, 0.8));
}

.info-panel {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 51, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-size: 14px;
    z-index: 1000;
}