.prediction-item {
    opacity: 1;
    border-left: 3px solid rgba(68, 255, 178, 0.5);
    background: rgba(68, 255, 178, 0.05);
    transition: all 0.3s ease;
}

.prediction-item:hover {
    opacity: 0.9;
    background: rgba(68, 255, 178, 0.1);
}

.prediction-time {
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
}

.prediction-value {
    color: rgba(255, 255, 255, 0.5) !important;
    position: relative;
}


#tomorrow-page {
    background: rgba(68, 255, 178, 0.02);
    border-radius: 10px;
    padding: 5px;
}

#tomorrow-page .list-item {
    border-left: 3px solid rgba(68, 255, 178, 0.6);
    background: rgba(68, 255, 178, 0.08);
    margin-bottom: 2px;
}

#tomorrow-page .list-item-time {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

#tomorrow-page .prediction-value {
    color: rgba(255, 255, 255, 0.8);
}


.chart-container.prediction-mode {
    border: 1px solid rgba(68, 255, 178, 0.3);
    border-radius: 10px;
    background: rgba(68, 255, 178, 0.02);
}


.day-module .pagination button[title*="Tomorrow"],
.day-module .pagination button[title*="Morgen"] {
    background: linear-gradient(135deg, rgba(68, 255, 178, 0.2), rgba(68, 255, 178, 0.1));
    border: 1px solid rgba(68, 255, 178, 0.3);
}

.day-module .pagination button[title*="Tomorrow"]:hover,
.day-module .pagination button[title*="Morgen"]:hover {
    background: linear-gradient(135deg, rgba(68, 255, 178, 0.3), rgba(68, 255, 178, 0.15));
    transform: translateY(-1px);
}


.page-info:has-text("Voorspellingen"),
.page-info:has-text("Predictions") {
    color: #44ffb2;
    font-style: italic;
}


.day-module .module-subtitle-text.fade-out {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.day-module .module-subtitle-text.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.week-module .module-subtitle-text.fade-out {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.week-module .module-subtitle-text.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.chart-container canvas {
    position: relative;
}


.chart-legend-prediction::before {
    content: "⚡";
    color: #44ffb2;
    margin-right: 4px;
    font-size: 0.8em;
}


.predictions-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'InfraRegular', monospace;
    font-size: 0.9rem;
}

.predictions-loading::before {
    content: "⚡";
    animation: pulse 1.5s infinite;
    margin-right: 8px;
    color: #44ffb2;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}


.predictions-error {
    padding: 15px;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 8px;
    color: rgba(255, 100, 100, 0.8);
    font-family: 'InfraRegular', monospace;
    font-size: 0.85rem;
    text-align: center;
    margin: 10px 0;
}

/* Stacked model accuracies */
.predictions-accuracy-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.model-accuracy-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: 'InfraRegular', monospace;
    width: 100%;
}

.model-accuracy-row .model-name {
    color: rgba(255,255,255,0.75);
}

.model-accuracy-row .model-accuracy {
    white-space: nowrap;
    color: rgba(255,255,255,0.75);
}

/* Make the right-hand predictions container span full width when label is hidden */
.predictions-accuracy .predictions-percentage {
    flex: 1 1 auto;
    width: 100%;
    opacity: 1 !important;
}
