/* ========================================
   ESTILO COMPACTO PARA PANAMA WEATHER
   Añadir al final de assets/style.css
   ======================================== */

/* Estilo compacto específico */
.panama-weather-compact-mode {
    max-width: 100% !important;
    margin: 15px 0 !important;
}

/* Header compacto */
.panama-weather-compact-mode .panama-weather-header {
    padding: 6px 12px !important;
    background: #00447c !important;
}

.panama-weather-compact-mode .panama-weather-header h3 {
    font-size: 0.95em !important;
    margin: 0 !important;
}

.panama-weather-compact-mode .panama-weather-updated {
    font-size: 0.7em !important;
}

/* Clima actual compacto */
.panama-weather-compact-mode .panama-weather-current-info {
    padding: 10px 12px !important;
    gap: 10px !important;
}

.panama-weather-compact-mode .panama-weather-icon img {
    width: 40px !important;
    height: 40px !important;
}

.panama-weather-compact-mode .panama-weather-temp-main {
    font-size: 1.6em !important;
    margin-bottom: 2px !important;
}

.panama-weather-compact-mode .panama-weather-temp-desc {
    font-size: 0.8em !important;
}

.panama-weather-compact-mode .panama-weather-details {
    min-width: 90px !important;
    gap: 2px !important;
    font-size: 0.75em !important;
}

.panama-weather-compact-mode .panama-weather-detail {
    margin-bottom: 1px !important;
}

.panama-weather-compact-mode .panama-weather-detail .label {
    font-size: 0.9em !important;
}

/* Pronóstico compacto */
.panama-weather-compact-mode .panama-weather-forecast {
    padding: 8px 12px !important;
}

.panama-weather-compact-mode .panama-weather-forecast h4 {
    font-size: 0.9em !important;
    margin: 0 0 6px 0 !important;
}

.panama-weather-compact-mode .panama-weather-forecast-days {
    gap: 6px !important;
}

.panama-weather-compact-mode .panama-weather-day {
    padding: 6px 3px !important;
    border-radius: 4px !important;
}

.panama-weather-compact-mode .panama-weather-day-name {
    font-size: 0.8em !important;
    margin-bottom: 1px !important;
}

.panama-weather-compact-mode .panama-weather-day-date {
    font-size: 0.7em !important;
    margin-bottom: 3px !important;
}

.panama-weather-compact-mode .panama-weather-day-icon img {
    width: 28px !important;
    height: 28px !important;
    margin: 1px 0 !important;
}

.panama-weather-compact-mode .panama-weather-day-temps {
    margin: 3px 0 !important;
}

.panama-weather-compact-mode .panama-weather-day-temps .temp-max {
    font-size: 0.9em !important;
}

.panama-weather-compact-mode .panama-weather-day-temps .temp-min {
    font-size: 0.8em !important;
}

/* Ocultar elementos en modo compacto */
.panama-weather-compact-mode .panama-weather-day-desc,
.panama-weather-compact-mode .panama-weather-day-extra,
.panama-weather-compact-mode .panama-weather-footer {
    display: none !important;
}

/* Responsive para compacto */
@media (max-width: 768px) {
    .panama-weather-compact-mode .panama-weather-current-info {
        flex-direction: column !important;
        text-align: center !important;
        padding: 8px !important;
    }
    
    .panama-weather-compact-mode .panama-weather-details {
        flex-direction: row !important;
        justify-content: space-around !important;
        width: 100% !important;
        gap: 8px !important;
    }
    
    .panama-weather-compact-mode .panama-weather-forecast-days {
        gap: 4px !important;
    }
    
    .panama-weather-compact-mode .panama-weather-day {
        padding: 4px 2px !important;
    }
    
    .panama-weather-compact-mode .panama-weather-day-icon img {
        width: 24px !important;
        height: 24px !important;
    }
}

@media (max-width: 480px) {
    .panama-weather-compact-mode .panama-weather-header {
        flex-direction: column !important;
        text-align: center !important;
        padding: 5px 8px !important;
    }
    
    .panama-weather-compact-mode .panama-weather-updated {
        margin-top: 2px !important;
    }
    
    .panama-weather-compact-mode .panama-weather-current-info {
        gap: 6px !important;
    }
    
    .panama-weather-compact-mode .panama-weather-forecast {
        padding: 6px 8px !important;
    }
    
    .panama-weather-compact-mode .panama-weather-day-name {
        font-size: 0.75em !important;
    }
}

/* ========================================
   VERSIÓN ULTRA MINI (OPCIONAL)
   ======================================== */

.panama-weather-mini-mode {
    max-width: 100% !important;
    margin: 10px 0 !important;
    font-size: 0.9em !important;
}

.panama-weather-mini-mode .panama-weather-header {
    padding: 4px 10px !important;
    background: #00447c !important;
}

.panama-weather-mini-mode .panama-weather-header h3 {
    font-size: 0.85em !important;
    margin: 0 !important;
}

.panama-weather-mini-mode .panama-weather-current-info {
    padding: 8px 10px !important;
    gap: 8px !important;
}

.panama-weather-mini-mode .panama-weather-icon img {
    width: 32px !important;
    height: 32px !important;
}

.panama-weather-mini-mode .panama-weather-temp-main {
    font-size: 1.4em !important;
}

.panama-weather-mini-mode .panama-weather-temp-desc {
    font-size: 0.75em !important;
}

.panama-weather-mini-mode .panama-weather-details {
    font-size: 0.7em !important;
    gap: 1px !important;
}

.panama-weather-mini-mode .panama-weather-forecast {
    padding: 6px 10px !important;
}

.panama-weather-mini-mode .panama-weather-forecast h4 {
    font-size: 0.8em !important;
    margin: 0 0 4px 0 !important;
}

.panama-weather-mini-mode .panama-weather-day {
    padding: 4px 2px !important;
}

.panama-weather-mini-mode .panama-weather-day-icon img {
    width: 20px !important;
    height: 20px !important;
}

.panama-weather-mini-mode .panama-weather-day-name {
    font-size: 0.7em !important;
}

.panama-weather-mini-mode .panama-weather-day-temps .temp-max,
.panama-weather-mini-mode .panama-weather-day-temps .temp-min {
    font-size: 0.75em !important;
}

/* Ocultar más elementos en mini */
.panama-weather-mini-mode .panama-weather-updated,
.panama-weather-mini-mode .panama-weather-day-date,
.panama-weather-mini-mode .panama-weather-day-desc,
.panama-weather-mini-mode .panama-weather-footer {
    display: none !important;
}