/* Contenedor principal del mapa solar */
.solar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header-solar {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-solar h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-solar {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 0.95em;
}

.info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.info-item .label {
    font-weight: 600;
    margin-right: 5px;
}

/* Controles de tiempo */
.controls-solar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-control {
    background: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-control:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.btn-control:active {
    transform: translateY(0);
}

.btn-realtime {
    background: #4caf50;
}

.btn-realtime:hover {
    background: #388e3c;
}

.btn-animation {
    background: #ff9800;
}

.btn-animation:hover {
    background: #f57c00;
}

.btn-animation.active {
    background: #f44336;
}

/* Ocultar los controles*/
.controls-solar {
    display: none !important;
}

/* Contenedor del mapa */
.map-container {
    position: relative;
    background: #1a1a2e;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

#solarMap {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Leyenda */
.legend-solar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.9em;
}

.legend-icon {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.legend-icon.station-tx {
    width: 16px;
    height: 16px;
    background: #ff5252;
    border-radius: 50%;
    border: 2px solid white;
}

.legend-icon.station-rx {
    width: 16px;
    height: 16px;
    background: #00e676;
    border-radius: 50%;
    border: 2px solid white;
}

.legend-icon.station-rx {
    width: 16px;
    height: 16px;
    background: #00e676;
    border-radius: 50%;
    border: 2px solid white;
}

.volcano-triangle {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 14px solid #ff3300;
}

/* Información de estaciones */
.stations-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stations-info h3 {
    color: #1a237e;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.station-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #2196F3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.station-card strong {
    color: #1565c0;
    font-size: 1.1em;
}

.station-card small {
    color: #555;
    font-size: 0.85em;
}

/* Responsive */
@media (max-width: 768px) {
    .header-solar h1 {
        font-size: 1.4em;
    }
    
    .info-solar {
        gap: 10px;
    }
    
    .controls-solar {
        gap: 5px;
    }
    
    .btn-control {
        padding: 8px 12px;
        font-size: 0.8em;
    }
    
    .stations-grid {
        grid-template-columns: 1fr;
    }
}
