/* --- Moduł pogody + ostrzeżenia IMGW --- */

/* ✅ Globalna czcionka: Tahoma */
.wk-box {
    width: 300px;
    margin: 0 auto;
    padding: 15px;
    background: #fff;
    color: #1D1D1D;
    font-family: Tahoma, Arial, sans-serif;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.2px;
}

/* ========== Sekcje ========== */
.wk-section {
    margin-bottom: 14px;
    text-align: center;
}

/* ✅ Separator nad prognozą */
.wk-now::after {
    content: "";
    width: 100%;
    height: 1px;
    background: #ddd;
    margin: 12px auto 14px;
    display: block;
}

/* ✅ Separator nad alertami — zawsze */
.wk-alerts-container::before {
    content: "";
    width: 100%;
    height: 1px;
    background: #ddd;
    margin: 20px auto 14px;
    display: block;
}

/* ========== Pogoda bieżąca ========== */
.wk-current-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.wk-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
}

/* ✅ Temperatura premium */
.wk-now .wk-temp {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

/* ✅ Opis pogody */
.wk-now .wk-desc {
    font-size: 15px;
    font-weight: 600;
    margin-top: 6px;
    color: #222;
    text-align: center;
    max-width: 100%;
}

/* ✅ Dane meteo */
.wk-meta {
    font-size: 12px;
    line-height: 1.35;
    color: #444;
    text-align: center;
    max-width: 240px;
    margin: 6px auto 0;
}

/* ========== Prognoza ========== */
.wk-forecast-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    justify-items: center;
}

.wk-day {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    width: 100px;
    line-height: 1.3;
}

.wk-dayname {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
}

.wk-icon-sm {
    width: 48px;
    height: 48px;
    margin: 0 auto;
}

.wk-temps {
    display: flex;
    gap: 6px;
    justify-content: center;
    font-size: 14px;
    margin-top: 4px;
}

.wk-tmax {
    font-weight: 700;
}

.wk-tmin {
    opacity: .65;
}

.wk-desc-sm {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    color: #333;
    margin: 4px auto 0;
    max-width: 90px;
    display: block;
}

/* ========== Ostrzeżenia IMGW ========== */
.wk-alerts-logo {
    max-height: 150px;
    margin: 0 auto 10px;
    display: block;
}

.wk-alert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wk-alert-item {
    border: 1px solid #f0cfcf;
    border-left: 4px solid #c62828;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff5f5;
    text-align: left;
    line-height: 1.35;
    transition: box-shadow 0.2s;
    font-size: 13px;
}

.wk-alert-item:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.wk-empty {
    font-size: 13px;
    opacity: .8;
    text-align: center;
}

/* ========== Responsywność ========== */
@media (max-width: 768px) {
    .wk-box {
        width: 100%;
    }

    .wk-forecast-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wk-icon {
        width: 56px;
        height: 56px;
    }
}