.nl-forecasts-page {
    padding: 1rem;
}

.nl-forecasts-header {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.nl-forecasts-header h1 {
    color: #f0f6fc;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.nl-forecasts-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
}

.nl-forecast-chart-card {
    background: linear-gradient(135deg, #161b22 0%, #21262d 100%);
    border: 1px solid #30363d;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    height: 430px;
    min-width: 0;
    overflow: hidden;
    padding: 0.5rem;
    position: relative;
}

.nl-forecast-chart-card canvas {
    display: block;
    height: 100% !important;
    width: 100% !important;
}

.nl-forecast-chart-card.fullscreen {
    background: #0d1117;
    border-radius: 0;
    box-sizing: border-box;
    height: 100vh !important;
    left: 0;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100vw !important;
    z-index: 9999;
}

.nl-forecast-chart-card.fullscreen canvas {
    height: calc(100vh - 40px) !important;
    max-height: calc(100vh - 40px) !important;
    width: 100% !important;
}

.nl-forecast-chart-card.fullscreen .fullscreen-btn {
    right: 20px;
    top: 20px;
}

.nl-forecast-chart-status {
    align-items: center;
    background: rgba(13, 17, 23, 0.78);
    color: #8b949e;
    display: flex;
    inset: 0.5rem;
    justify-content: center;
    padding: 1rem;
    position: absolute;
    text-align: center;
}

.nl-forecast-chart-status.error {
    color: #f85149;
}

.nl-forecast-chart-status[hidden] {
    display: none;
}

@media (max-width: 1200px) {
    .nl-forecasts-grid {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
    }
}

@media (max-width: 700px) {
    .nl-forecasts-grid {
        grid-template-columns: 1fr;
    }

    .nl-forecast-chart-card {
        height: 380px;
    }
}
