/*----------------------------POSITIE VAN DE MAP-------------------------------------*/
.map-container {
    flex: 1;			
    height: 400px;		
    margin-top: 2px; /* Zorgt dat deze ook bovenaan start */
}

/*---------bedrijfsgegevens------------------*/
.gegevens {
    flex: 1;
    padding: 15px;
    background: #f4f4f4;
    border-radius: 5px;
    margin-top: 0; /* Zorgt dat deze bovenaan start */
}

/* --------------------FOUTMELDINGEN------------------------------------- */
.upload-progress {
    font-family: Arial, sans-serif;
    width: 100%;
}

.status-text {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.status-uploading {
    color: #2196F3;
}

.status-success {
    color: #4CAF50;
}

.upload-status-message.error {
    color: #d32f2f !important;
}

.upload-status-message.success {
    color: #00a000 !important;
}

.upload-progress-percent.error {
    color: #d32f2f !important;
}

/*------------------------------------------------------------------------------------------------------------*/
/* STIJL VAN HET FORMULIER */
.form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding: 20px; 	/* hiermee kan je de randafstand van het formulier instellen */
    width: 350px;	/* hiermee kan je de breedte van het formulier instellen */
    margin-left: 0;	/* deze waarde was 20px, nog niet duidelijk wat ermee ingesteld wordt */
    float: right;	/* hiermee stel je de positie van het formulier op de pagina links of rechts */
    border: 1px solid #ddd;
    margin-top: 0px; /* deze was 0, hiermee kan je de positie van het formulier verticaal instellen*/
    position: relative; /* i.p.v. absolute */
    top: auto;
    right: auto;
}

/*POSITIE VAN HET FORMULIER*/
.top-section {
    display: block; /* deze was flex */
    gap: 20px;
    margin-bottom: 2px; /* deze was 20xp */
    align-items: flex-start;
    position: relative;
    min-height: 400px;
}

/* FORMULIER GROEPEN - UNIFIED */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #34495e;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* CHECKBOX STYLES - UNIFIED */
.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-top: 5px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-item label {
    font-size: 13px;
    line-height: 1.3;
    cursor: pointer;
    user-select: none;
    color: #34495e;
}

/* SUBMIT KNO - UNIFIED */
button[type="submit"] {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

/* RESPONSIVE AANPASSINGEN - CORRECTE SYNTAX */
@media (max-width: 1024px) {
    .form-container {
        float: none;
        width: 100%;
        margin: 15px 0;
    }
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}
.upload-progress {
    margin: 20px 0;
    width: 100%;
}

.progress-bar {
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #4CAF50;
    border-radius: 10px;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    color: #555;
}
/*================ stijlen van de inleiding ===========================*/
#kwaliteitsborging {
    flex: 1;                  /* Zelfde flex-grow als #inleiding */
    min-width: 0;             /* Voorkomt overflow */
    padding: 15px;            /* Identieke padding */
    background: #f4f4f4;      /* Achtergrondkleur match */
    border-radius: 5px;       /* Border-radius match */
    margin-bottom: 20px;      /* Zelfde marge-onder */
    box-sizing: border-box;   /* Consistentie met #inleiding */
}

#kwaliteitsborging h3 {
    margin-top: 0;            /* Geen extra ruimte boven h3 */
    margin-bottom: 15px;      /* Zelfde marge-onder als h2 */
}

#kwaliteitsborging p {
    margin-bottom: 1em;       /* Identieke paragraafmarge */
    line-height: 1.6;         /* Zelfde regelafstand */
}

/*===============================stijl van de betondruksterkte===============================*/
/* Calculator stijlen */
#beton-calculator {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kern-input-container {
    margin: 20px 0;
}

.kern-input-group {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.input-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.input-row label {
    flex: 1;
    min-width: 200px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.conclusion {
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.conclusion.success {
    background: #d4edda;
    color: #155724;
}

.conclusion.error {
    background: #f8d7da;
    color: #721c24;
}

#chaoskromme-chart {
    margin: 20px 0;
    max-width: 800px;
}
