.dwdnal-live-widget {
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.4;
    max-width: 100%;
    width: 100%;
    margin: 16px 0;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.dwdnal-live-left {
    flex: 2 1 60%;
    min-width: 260px;
}

.dwdnal-live-right {
    flex: 1 1 35%;
    min-width: 260px;
    border-left: 1px solid #e5e7eb;
    padding-left: 12px;
}

.dwdnal-live-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.dwdnal-live-location {
    font-size: 1.1em;
    font-weight: 600;
}

.dwdnal-live-time {
    font-size: 0.85em;
    opacity: 0.8;
}

.dwdnal-live-row {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.dwdnal-live-label {
    min-width: 170px;
    font-weight: 500;
}

.dwdnal-live-value {
    font-weight: 400;
}

.dwdnal-live-wind-arrow {
    display: inline-block;
    margin-right: 4px;
    transition: transform 0.2s ease-out;
}

/* Warnungen */
.dwdnal-live-warnings-title {
    margin: 0 0 8px;
    font-size: 1em;
    font-weight: 600;
}

.dwdnal-live-warning {
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.dwdnal-live-warning-headline {
    font-weight: 600;
    margin-bottom: 4px;
}

.dwdnal-live-warning-description {
    margin-bottom: 4px;
}

.dwdnal-live-warning-time {
    font-size: 0.85em;
    opacity: 0.9;
}

/* Warnstufenfarben grob nach DWD-Farben */
.dwdnal-live-warning-level-1 {
    background: #fff7d6;
    border: 1px solid #facc15;
}

.dwdnal-live-warning-level-2 {
    background: #fef3c7;
    border: 1px solid #f97316;
}

.dwdnal-live-warning-level-3 {
    background: #fee2e2;
    border: 1px solid #ef4444;
}

.dwdnal-live-warning-level-4 {
    background: #fee2e2;
    border: 1px solid #b91c1c;
}

.dwdnal-live-condition {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dwdnal-live-condition-icon {
    font-size: 1.3em;
    line-height: 1;
}

/* Responsive: untereinander auf kleinen Bildschirmen */
@media (max-width: 768px) {
    .dwdnal-live-widget {
        flex-direction: column;
        padding: 12px;
    }
    .dwdnal-live-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e5e7eb;
        padding-top: 8px;
    }
}
