
/* Basisthema voor de calculator */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body .nl-luchtvochtigheid-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #e0f2fe 100%);
    min-height: 100vh;
    color: #334155;
    padding: 1px; /* zorgt dat de gradient zichtbaar is binnen Gutenberg blokken */
}

.nl-luchtvochtigheid-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.nl-luchtvochtigheid-container .header {
    text-align: center;
    margin-bottom: 2rem;
}

.nl-luchtvochtigheid-container .header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.nl-luchtvochtigheid-container .header p {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.nl-luchtvochtigheid-container .main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nl-luchtvochtigheid-container .main-grid {
        grid-template-columns: 1fr;
    }
}

.nl-luchtvochtigheid-container .card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.nl-luchtvochtigheid-container .card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.nl-luchtvochtigheid-container .city-selector {
    max-height: 400px;
    overflow-y: auto;
}

.nl-luchtvochtigheid-container .city-item {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.nl-luchtvochtigheid-container .city-item:hover {
    background-color: #f1f5f9;
    border-color: #3b82f6;
}

.nl-luchtvochtigheid-container .city-item.selected {
    background-color: #dbeafe;
    border-color: #3b82f6;
}

.nl-luchtvochtigheid-container .city-name {
    font-weight: 600;
    color: #1e293b;
}

.nl-luchtvochtigheid-container .city-details {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.nl-luchtvochtigheid-container .tabs {
    margin-bottom: 1.5rem;
}

.nl-luchtvochtigheid-container .tab-list {
    display: flex;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 0.25rem;
}

.nl-luchtvochtigheid-container .tab-button {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.nl-luchtvochtigheid-container .tab-button.active {
    background-color: white;
    color: #3b82f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nl-luchtvochtigheid-container .tab-content {
    display: none;
}

.nl-luchtvochtigheid-container .tab-content.active {
    display: block;
}

.nl-luchtvochtigheid-container .chart-container {
    margin-bottom: 2rem;
    height: 400px;
}

.nl-luchtvochtigheid-container .risk-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid;
    margin-bottom: 0.75rem;
}

.nl-luchtvochtigheid-container .risk-item.high { border-left-color: #ef4444; }
.nl-luchtvochtigheid-container .risk-item.medium { border-left-color: #f59e0b; }
.nl-luchtvochtigheid-container .risk-item.low { border-left-color: #10b981; }

.nl-luchtvochtigheid-container .risk-info h4 {
    font-weight: 600;
    color: #1e293b;
}

.nl-luchtvochtigheid-container .risk-info p {
    font-size: 0.875rem;
    color: #64748b;
}

.nl-luchtvochtigheid-container .risk-values { text-align: right; }
.nl-luchtvochtigheid-container .humidity-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: #3b82f6;
}

.nl-luchtvochtigheid-container .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.nl-luchtvochtigheid-container .stat-card {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.nl-luchtvochtigheid-container .stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.nl-luchtvochtigheid-container .stat-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b;
}

.nl-luchtvochtigheid-container .selected-cities { margin-bottom: 1rem; }

.nl-luchtvochtigheid-container .selected-city {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e40af;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin: 0.25rem;
    font-size: 0.875rem;
}

.nl-luchtvochtigheid-container .remove-city {
    margin-left: 0.5rem;
    cursor: pointer;
    font-weight: bold;
}

.nl-luchtvochtigheid-container .empty-state {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}
