@charset "utf-8";
/* CSS Document */

     .energie-profielkiezer .profile-title {
        font-size: 1.05rem;
        font-weight: 600;
        line-height: 1.3;
        margin: 0 0 4px 0;
        color: var(--ep-black);
    }

    .energie-profielkiezer .profile-consumption {
        font-size: 0.95rem;
        color: var(--ep-black);
        font-weight: 700;
        margin-top: auto;
        margin-bottom: 4px;
    }

    .energie-profielkiezer .profile-subtitle {
        font-size: 0.85rem;
        color: var(--ep-gray-light);
        line-height: 1.3;
        margin-top: 4px;
        margin-bottom: 10px;
    }

    .energie-profielkiezer .profile-radio,
    .energie-profielkiezer .profile-checkbox {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .energie-profielkiezer #selection-output {
        margin-top: 40px;
        font-weight: 500;
        font-size: 0.95rem;
        color: var(--ep-gray-dark);
        background: #f1f5f9;
        padding: 14px 28px;
        border-radius: 30px;
        text-align: center;
        max-width: 850px;
        line-height: 1.5;
    }


.tabel-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #dee2e6;
    margin-bottom: 40px;
}

.energie-matrix-tabel th, .energie-matrix-tabel td {
    border-bottom: 1px solid #edf2f7;
    transition: background-color 0.2s;
}

.energie-matrix-tabel tbody tr:hover {
    background-color: #f1f3f5 !important; /* Licht effect als je over een maand heen hovert */
}
 
/* 1. Algemene knop-styling (Grootte, vorm, font en transitie zijn voor beide knoppen gelijk) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    user-select: none;
    
    /* Reset voor de standaard HTML <button> eigenschappen */
    border: none;
    outline: none;
    box-sizing: border-box; 
}

/* Effect wanneer je op een willekeurige knop klikt */
.btn:active {
    transform: scale(0.98);
}

/* 2. De Grijze Knop (Secundair) */
.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
}
.btn-secondary:hover {
    background-color: #5a6268;
}

/* 3. De Rode Knop (Gevaar / Wis) */
.btn-danger {
    background-color: #dc3545; /* Modern, helder rood */
    color: #ffffff;
}
.btn-danger:hover {
    background-color: #bd2130; /* Iets donkerder rood bij mouse-over */
}
    
.disclaimer {
    font-family: sans-serif;
    font-size: 11px;
    color: #6c757d; /* Neutraal grijs zodat het niet afleidt */
    line-height: 1.4;
    margin-top: 20px;
    border-top: 1px solid #e9ecef; /* Subtiel lijntje erboven */
    padding-top: 10px;
}
    
  


        body {
            font-family: Arial, sans-serif;
            background-color: #f4f7f6;
            color: #333;
            padding: 20px;
            margin: 0;
        }
       
/* De hoofdcontainer voor de jaartotalen */
.jaar-invoer-container {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f1f3f5;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-family: sans-serif;
    max-width: 400px; /* Zorgt ervoor dat de verticale lijst niet te breed uitrekt */
}

/* Titel boven de invoer */
.jaar-invoer-container h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Elk invoerblokje onder elkaar */
.jaar-invoer-veld {
    display: flex;
    flex-direction: column; /* Dit dwingt het invoerveld ONDER het label */
    margin-bottom: 12px;
}

/* Stijling voor de labels */
.jaar-invoer-veld label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Stijling voor de invoervelden zelf */
.jaar-invoer-veld input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    text-align: right; /* Cijfers netjes rechts uitlijnen */
    border: 1px solid #ced4da;
    border-radius: 4px;
}

/* De magische knop stijling */
.magic-button {
    margin-top: 5px;
    padding: 10px 20px;
    background-color: #2b8a3e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.2s ease;
}

/* Subtiel effect als je over de knop muist */
.magic-button:hover {
    background-color: #237032;
}
       
       
        .xcontainer {
            max-width: 800px;
            margin: 0 ;
            background: #fff;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
       

/* Zet de eerste kolom (zowel header als data-cellen) op sticky */
.xcontainer table th:first-child {
    position: sticky;
    left: 0;
    z-index: 2; /* Zorgt dat de kolom áltijd bovenop de schuivende kolommen blijft liggen */
    background-color: #34495e; /* BELANGRIJK: Geef een achtergrondkleur mee, anders kijk je er doorheen! */
}
       
.xcontainer table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2; /* Zorgt dat de kolom áltijd bovenop de schuivende kolommen blijft liggen */
    background-color: #ffffff; /* BELANGRIJK: Geef een achtergrondkleur mee, anders kijk je er doorheen! */
}


       
       
        h1 {
            color: #2c3e50;
            margin-top: 0;
            border-bottom: 2px solid #ecf0f1;
            padding-bottom: 10px;
        }
        p {
            color: #7f8c8d;
            font-size: 0.95em;
            line-height: 1.5;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        th, td {
            padding: 10px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        th {
            background-color: #34495e;
            color: white;
            font-size: 0.9em;
        }
        th small {
            font-weight: normal;
            opacity: 0.8;
            display: block;
            margin-top: 3px;
        }
        tr:hover {
            background-color: #f9f9f9;
        }
        input[type="number"] {
            width: 90px;
            padding: 6px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        input[type="number"]:focus {
            border-color: #3498db;
            outline: none;
        }
        .calculated-cell {
            background-color: #eaedd0;
            font-weight: bold;
            padding: 6px 10px;
            border-radius: 4px;
            display: inline-block;
            min-width: 60px;
        }
        .total-row {
            background-color: #ecf0f1;
            font-weight: bold;
        }
        .total-row td {
            border-top: 2px solid #2c3e50;
            border-bottom: 2px solid #2c3e50;
        }
        .error-msg {
            color: #c0392b;
            font-size: 0.8em;
            font-weight: bold;
            display: block;
            margin-top: 4px;
        }
        .input-error {
            border: 2px solid #e74c3c !important;
            background-color: #fce4d6;
        }
       #submit-btn[disabled] {
       pointer-events: auto !important;
       }
       .jaartotalen {
            text-align: right; width: 100%; background: transparent; border: none; font-weight: bold; color: #212529; padding: 0; margin: 0; box-sizing: border-box;

       }
.stroom-grafiek-container {
  margin: 30px 0;
  padding: 25px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-family: sans-serif;
}

.grafiek-scroll-wrapper {
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 5px;
}

.grafiek-inner {
  min-width: 650px;
  display: flex;
  flex-direction: column;
}

/* Detailpaneel voor mobiel & desktop klik */
.grafiek-detail-box {
  margin-top: 20px;
  padding: 15px;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-left: 4px solid #2b8a3e;
  border-radius: 6px;
  font-size: 14px;
  color: #212529;
}

.grafiek-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 16px;
  margin-top: 10px;
}

/* Visuele feedback voor geselecteerde balk */
.maand-balk {
  transition: opacity 0.2s, transform 0.15s;
}
.maand-balk.actief {
  outline: 2px solid #212529;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .stroom-grafiek-container {
    padding: 15px;
  }
  .grafiek-legenda {
    gap: 10px !important;
    font-size: 12px !important;
    justify-content: flex-start !important;
  }
}

    .import-box {
        background-color: #f4f8fb;
        border: 1px solid #d0e1f0;
        border-radius: 6px;
        padding: 15px 20px;
        margin-bottom: 20px;
        font-family: Arial, sans-serif;
    }
    .import-box h4 {
        margin: 0 0 8px 0;
        color: #1f497d;
        font-size: 16px;
    }
    .import-box p {
        margin: 0 0 12px 0;
        font-size: 14px;
        line-height: 1.5;
        color: #333;
    }
    .import-btn {
        background-color: #307652;
        color: #fff;
        border: none;
        padding: 10px 16px;
        font-size: 14px;
        font-weight: bold;
        border-radius: 4px;
        cursor: pointer;
    }
    .import-btn:hover {
        background-color: #16355c;
    }
    .import-status {
        margin-top: 12px;
        padding: 10px 14px;
        border-radius: 4px;
        font-size: 13px;
        font-weight: bold;
        display: none; /* Standaard verborgen tot er een bestand is gekozen */
    }
    .import-status.success {
        display: block;
        background-color: #e6f4ea;
        color: #137333;
        border: 1px solid #ceead6;
    }
    .import-status.warning {
        display: block;
        background-color: #fef7e0;
        color: #b06000;
        border: 1px solid #feefc3;
    }
    .import-status.error {
        display: block;
        background-color: #fce8e6;
        color: #c5221f;
        border: 1px solid #fad2cf;
    }
    .import-note {
        display: block;
        margin-top: 10px;
        font-size: 12px;
        color: #666;
    }

    .opwek-verdeler {
        background-color: #fffdf5;
        border: 1px solid #f0e4b8;
        border-radius: 6px;
        padding: 15px 20px;
        margin-bottom: 20px;
        font-family: Arial, sans-serif;
    }
    .opwek-verdeler h4 {
        margin: 0 0 8px 0;
        color: #8a6d1b;
        font-size: 16px;
    }
    .opwek-verdeler p {
        margin: 0 0 12px 0;
        font-size: 14px;
        color: #333;
    }
    .opwek-rij {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }
    .opwek-rij input {
        padding: 8px 10px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 4px;
        width: 140px;
    }
    .opwek-btn {
        background-color: #d99b00;
        color: #fff;
        border: none;
        padding: 9px 16px;
        font-size: 14px;
        font-weight: bold;
        border-radius: 4px;
        cursor: pointer;
    }
    .opwek-btn:hover {
        background-color: #b88200;
    }
.specrij {border-bottom: 1px solid #e9ecef;}
.specvet {padding: 12px; font-weight: bold;}

.checkbox-group {display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px;}

.profile-container{display: flex; gap: 15px; margin-bottom: 30px;}

.specvet {padding: 12px; font-weight: bold;}

.berekenknop {background-color: #2b8a3e; color: white; font-weight: bold; padding: 12px 30px; border: none; border-radius: 6px; cursor: pointer; font-size: 16px;}
.form-sectie {margin-top: 25px; font-family: sans-serif;}