/* Компактний віджет для Дніпра (на основі Yakutia) */
.dwc-widget {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

.dwc-style-compact .dwc-compact {
    display: flex;
    align-items: center;
    background: #fff !important;
    color: #0d47a1 !important;
    padding: 8px 15px;
    border-radius: 8px;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.1) !important;
    border: 1px solid #e3e7f0 !important;
    max-width: 100%;
}

.dwc-weather {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 110px;
}

.dwc-weather-icon {
    font-size: 28px;
    line-height: 1;
}

.dwc-weather-info {
    display: flex;
    flex-direction: column;
}

.dwc-temperature {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    color: #0d47a1;
}

.dwc-city {
    font-size: 11px;
    color: #5c6bc0;
    margin-top: 2px;
    font-weight: 500;
}

.dwc-currency {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-left: 1px solid #e3e7f0;
    padding-left: 15px;
}

.dwc-currency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    white-space: nowrap;
}

.dwc-currency-symbol {
    font-weight: 700;
    min-width: 16px;
    color: #0d47a1;
}

.dwc-currency-value {
    font-weight: 700;
    color: #2e7d32;
    font-family: Arial, sans-serif;
}

.dwc-style-detailed .dwc-detailed {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(13, 71, 161, 0.1);
    overflow: hidden;
    max-width: 320px;
    border: 1px solid #e3e7f0;
}

.dwc-detailed .dwc-header {
    padding: 12px 15px;
    border-bottom: 2px solid #0d47a1;
}

.dwc-detailed .dwc-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0d47a1;
}

.dwc-detailed .dwc-body {
    padding: 15px;
}

.dwc-weather-detailed {
    margin-bottom: 15px;
}

.dwc-weather-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dwc-weather-icon-large {
    font-size: 40px;
}

.dwc-temp-large {
    font-size: 24px;
    font-weight: 800;
    color: #0d47a1;
    line-height: 1;
}

.dwc-description {
    font-size: 13px;
    color: #5c6bc0;
    text-transform: capitalize;
    margin: 4px 0;
}

.dwc-city-name {
    font-size: 11px;
    color: #7986cb;
}

.dwc-weather-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #f8f9ff;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e3e7f0;
}

.dwc-extra-item {
    font-size: 11px;
}

.dwc-extra-label {
    color: #5c6bc0;
    display: block;
    margin-bottom: 2px;
}

.dwc-extra-value {
    font-weight: 700;
    color: #0d47a1;
}

.dwc-currency-detailed {
    border-top: 1px solid #e3e7f0;
    padding-top: 12px;
}

.dwc-currency-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f0f2f7;
}

.dwc-currency-row:last-child {
    border-bottom: none;
}

.dwc-currency-name {
    font-size: 13px;
    color: #5c6bc0;
}

.dwc-currency-value-detailed {
    font-weight: 800;
    color: #2e7d32;
    font-size: 15px;
}

.dwc-style-minimal .dwc-minimal {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(13, 71, 161, 0.1);
    font-size: 13px;
    border: 1px solid #e3e7f0;
}

.dwc-minimal-weather {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0d47a1;
}

.dwc-minimal-temp {
    font-weight: 800;
}

.dwc-minimal-currency {
    display: flex;
    gap: 12px;
    color: #2e7d32;
    font-weight: 800;
}

@media (max-width: 768px) {
    .dwc-style-compact .dwc-compact {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

    .dwc-currency {
        border-left: none;
        border-top: 1px solid #e3e7f0;
        padding-left: 0;
        padding-top: 8px;
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
    }
}

@keyframes dwc-pulse-blue {
    0% { box-shadow: 0 2px 10px rgba(13, 71, 161, 0.1); }
    50% { box-shadow: 0 2px 15px rgba(13, 71, 161, 0.3); }
    100% { box-shadow: 0 2px 10px rgba(13, 71, 161, 0.1); }
}

.dwc-updating {
    animation: dwc-pulse-blue 1.5s infinite;
}

.dwc-widget:hover {
    box-shadow: 0 3px 15px rgba(13, 71, 161, 0.2) !important;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.dwc-style-compact .dwc-temperature,
.dwc-style-compact .dwc-city,
.dwc-style-compact .dwc-currency-symbol {
    color: #0d47a1 !important;
}
