/* Clima Magdalena - Widget Styles */

#clima-magdalena-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.clima-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #00d4ff;
}

.clima-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top-color: #00d4ff;
    border-radius: 50%;
    animation: clima-spin 0.8s linear infinite;
}

@keyframes clima-spin {
    to { transform: rotate(360deg); }
}

.clima-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 12px 15px;
    gap: 10px;
}

.clima-temp-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.clima-icono {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.clima-temp {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.clima-info-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.clima-estado {
    font-size: 13px;
    font-weight: 600;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clima-viento {
    font-size: 11px;
    color: #a0a0a0;
    font-weight: 500;
}

.clima-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ff5252;
    font-size: 12px;
    font-weight: 600;
}

/* Responsive ajustes */
@media (max-width: 768px) {
    #clima-magdalena-widget {
        width: 100% !important;
        max-width: 218px;
    }
}