/* html-sbeam.css - Styling voor SunnyBEAM zonnepaneel opbrengsten */

body {
    font-family: verdana, sans-serif;
    margin: 20px;
    background-color: #ffffff;
    color: #333333;
}

h1 {
    color: #2e7d32;
    margin-bottom: 5px;
}

h2 {
    color: #666666;
    font-size: 1.2em;
    margin-top: 0;
    font-weight: normal;
}

p {
    font-size: 0.85em;
    color: #555555;
}

hr {
    border: 0;
    height: 1px;
    background: #dddddd;
    margin: 20px 0;
}

table {
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

th, td {
    padding: 8px 12px;
    border: 1px solid #cccccc;
    text-align: right;
}

th:first-child, td:first-child {
    text-align: left;
    font-weight: bold;
}

th {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Kleurcodering voor kWh opbrengsten */
.kwh-neutral {
    background-color: #f0f0f0;
    color: #444444;
}

.kwh-green {
    background-color: #90EE90;
    color: #2d5016;
    font-weight: bold;
}

.kwh-orange {
    background-color: #FFA500;
    color: #000000;
    font-weight: bold;
}

.kwh-equal {
    background-color: #ADD8E6;
    color: #003366;
    font-weight: bold;
}

.kwh-pink {
    background-color: #FFC0CB;
    color: #000000;
    font-weight: bold;
}

/* Footer styling */
.footer {
    font-size: 0.75em;
    color: #888888;
    font-weight: normal;
    margin-top: 20px;
    text-align: center;
}

.footer a {
    color: #0000ee;
    text-decoration: underline;
}

.footer a:visited {
    color: #551a8b;
}

/* Responsieve weergave (groter op desktop) */
@media (min-width: 1024px) {
    body {
        font-size: 1.1em;
    }
    table {
        font-size: 1.25em; /* Grotere tabel en tekst op desktop */
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.3em;
    }
    p {
        font-size: 0.95em;
    }
}

/* Navigatieknoppen daggrafiek (stijl van html-album) */
.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 3px;
    font-size: 16px;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

.nav-btn.prev-btn {
    background: linear-gradient(to bottom, #ffc485, #e67e22);
    border: 1px solid #d35400;
    color: #000 !important;
    font-weight: bold;
}
.nav-btn.prev-btn:hover {
    background: linear-gradient(to bottom, #ffa84c, #d35400);
    color: #000 !important;
}

.nav-btn.next-btn {
    background: linear-gradient(to bottom, #a3e4d7, #2ecc71);
    border: 1px solid #27ae60;
    color: #000 !important;
    font-weight: bold;
}
.nav-btn.next-btn:hover {
    background: linear-gradient(to bottom, #76d7c4, #27ae60);
    color: #000 !important;
}

.nav-btn:disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Styling voor dropdowns in de select-container */
.select-container select {
    padding: 4px;
    height: 28px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-family: verdana;
    font-size: 12px;
}

/* Mobiele styling getriggerd via JS-klasse op uitgezoomd mobiel scherm (zonder viewport tag) */
.is-mobile .nav-btn {
    width: 110px;
    height: 110px;
    font-size: 50px;
    border-radius: 8px;
}
.is-mobile .select-container {
    gap: 20px;
}
.is-mobile .select-container label {
    font-size: 32px;
}
.is-mobile .select-container select {
    height: 110px;
    font-size: 36px;
    padding: 10px 20px;
    border-radius: 8px;
}


