/* ============================================
   Clima Widget — Styles
   ============================================ */

.clima-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    transition: box-shadow 0.3s ease;
    max-width: 380px;
}

.clima-widget:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

/* ── Temperature ───────────────────────────── */

.clima-widget__temp {
    font-size: 72px;
    font-weight: 300;
    line-height: 1;
    color: #8c8c8c;
    letter-spacing: -2px;
    white-space: nowrap;
}

.clima-widget__temp span.clima-widget__degree {
    font-size: 40px;
    font-weight: 300;
    vertical-align: super;
    margin-left: 2px;
}

/* ── Weather Icon ──────────────────────────── */

.clima-widget__icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clima-widget__icon svg {
    width: 100%;
    height: 100%;
}

/* ── Loading / Error States ────────────────── */

.clima-widget--loading .clima-widget__temp,
.clima-widget--loading .clima-widget__icon {
    opacity: 0.4;
    animation: climaPulse 1.5s ease-in-out infinite;
}

@keyframes climaPulse {
    0%, 100% { opacity: 0.4; }
    50%     { opacity: 0.7; }
}

.clima-widget--error .clima-widget__temp {
    font-size: 18px;
    color: #ccc;
    letter-spacing: 0;
}
