/* Widget Pogodowy - Elegancki Style (bez tła) */

.ww-widget {
    color: inherit;
    padding: 0;
    margin: 0;
    width: 100%;
}

.ww-location {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* ============================================
   POGODA DZIŚ - Current Weather
   ============================================ */

.ww-current {
    max-width: 400px;
    margin: 0 auto;
}

.ww-current .ww-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 32px 0;
}

.ww-current .ww-emoji {
    font-size: 96px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.ww-current .ww-temp-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ww-current .ww-temp {
    font-size: 64px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
}

.ww-current .ww-unit {
    font-size: 32px;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 4px;
}

.ww-current .ww-description {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.8;
}

.ww-current .ww-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid currentColor;
    opacity: 0.3;
}

.ww-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.ww-detail-icon {
    font-size: 20px;
    opacity: 0.8;
}

.ww-detail-value {
    font-weight: 500;
}

/* ============================================
   PROGNOZA 7 DNI - Forecast
   ============================================ */

.ww-forecast {
    max-width: 100%;
}

/* Desktop: poziomy layout */
.ww-forecast .ww-forecast-grid {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    justify-content: center;
}

.ww-forecast .ww-forecast-grid::-webkit-scrollbar {
    height: 6px;
}

.ww-forecast .ww-forecast-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 3px;
}

.ww-forecast .ww-forecast-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.ww-forecast-day {
    flex: 0 0 auto;
    min-width: 100px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 6px -1px rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.ww-forecast-day:hover {
    transform: translateY(-2px);
    box-shadow: 0px 20px 25px -5px rgba(0,0,0,0.1);
}

.ww-day-header {
    margin-bottom: 12px;
}

.ww-day-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ww-day-date {
    font-size: 12px;
    opacity: 0.7;
}

.ww-day-emoji {
    font-size: 48px;
    margin: 16px 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

.ww-day-temps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 18px;
    margin-top: 12px;
}

.ww-temp-max {
    font-weight: 600;
}

.ww-temp-separator {
    opacity: 0.4;
    font-weight: 300;
}

.ww-temp-min {
    opacity: 0.6;
    font-weight: 400;
}

/* ============================================
   KOMUNIKATY BŁĘDÓW
   ============================================ */

.ww-error {
    background: #fee;
    color: #c33;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    border: 1px solid #fcc;
    max-width: 400px;
    margin: 20px auto;
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */

@media (max-width: 768px) {
    /* Pogoda dziś - mobile */
    .ww-current .ww-emoji {
        font-size: 72px;
    }

    .ww-current .ww-temp {
        font-size: 52px;
    }

    .ww-current .ww-unit {
        font-size: 26px;
    }

    .ww-current .ww-description {
        font-size: 16px;
    }

    .ww-current .ww-details {
        gap: 24px;
    }

    /* Prognoza - 2 kolumny na mobile */
    .ww-forecast .ww-forecast-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        overflow-x: visible;
        padding: 0 20px;
    }

    .ww-forecast-day {
        min-width: auto;
        width: 100%;
    }

    .ww-day-emoji {
        font-size: 40px;
        margin: 12px 0;
    }
}

@media (max-width: 480px) {
    .ww-location {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .ww-current .ww-main {
        gap: 16px;
        margin: 24px 0;
    }

    .ww-current .ww-emoji {
        font-size: 64px;
    }

    .ww-current .ww-temp {
        font-size: 44px;
    }

    .ww-current .ww-unit {
        font-size: 22px;
    }

    .ww-current .ww-description {
        font-size: 15px;
    }

    .ww-detail-item {
        font-size: 14px;
    }

    .ww-detail-icon {
        font-size: 18px;
    }

    .ww-day-name {
        font-size: 13px;
    }

    .ww-day-emoji {
        font-size: 36px;
    }

    .ww-day-temps {
        font-size: 16px;
    }
}

/* ============================================
   GUTENBERG EDITOR - Placeholder
   ============================================ */

.ww-block-placeholder {
    width: 100%;
}

.editor-styles-wrapper .ww-widget {
    opacity: 0.8;
}
