/* modal-eclipse.css */
.eclipse-modal-content {
    max-width: 900px;
}

.eclipse-modal-summary {
    color: var(--color-secondary-font);
    margin-top: -8px;
    margin-bottom: 16px;
}

.eclipse-map-wrapper {
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--dashboard-widget-box-shadow-color, #e0e0e0);
}

#eclipse-map-container {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.eclipse-time-control {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.eclipse-time-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--font-color);
}

.eclipse-time-control input[type="range"] {
    width: 100%;
}

.eclipse-time-range {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-secondary-font);
}

.eclipse-legend {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    font-size: 0.75rem;
    color: var(--color-secondary-font);
}

.eclipse-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eclipse-legend-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: none;
}

.eclipse-legend-swatch-path {
    border-radius: 3px;
    background: #8a3b16;
    opacity: 0.6;
}

.eclipse-legend-swatch-shadow {
    background: #1a0509;
    border: 1px solid #4a0d16;
}

.eclipse-legend-swatch-station {
    background: #2a7fff;
}

@media (min-width: 700px) {
    .eclipse-map-wrapper,
    #eclipse-map-container {
        min-height: 450px;
    }
}
