/* --------------------------------------------------
   Container rond offerte (PDF + Formulier)
   -------------------------------------------------- */
.offerte-container {
    background: #f9f9f9;
    padding: 24px;
    max-width: 1000px;
    max-height: none;     /* verwijder de oude onjuiste 'max height: 200px;' */
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-family: "Segoe UI", sans-serif;
    color: #333;
}

/* --------------------------------------------------
   PDF-viewer in een scroll‐vriendelijke box
   -------------------------------------------------- */
#pdf-container {
    /* Niet meer 100%, maar maximaal 90% van de parent‐breedte: */
    max-width: 90%;
    /* Óf stel een vaste breedte in, bijvoorbeeld max-width: 800px; */
    /* max-width: 800px; */

    /* Centreer de container */
    margin: 0 auto;

    /* Houd de hoogte zoals-ie is, of pas hem aan */
    height: 600px;

    border: 1px solid #ccc;
    border-radius: 6px;
    overflow-y: auto;
    background: #fff; /* optioneel: zwarte achtergrond blijft zichtbaar, maar nu rondom gecentreerde PDF */
}


/* --------------------------------------------------
   Formulier‐elementen
   -------------------------------------------------- */
.offerte-container input[type="text"],
.offerte-container input[type="email"] {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
}

.offerte-container canvas#sig-canvas {
    width: 100%;
    max-width: 600px;
    height: 200px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 6px;
    margin-bottom: 14px;
}

/* Button styling */
.offerte-container button {
    background-color: #444;
    color: white;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s;
}

.offerte-container button:hover {
    background-color: #222;
}

.offerte-container label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

/* Checkbox en voorwaarden */
.offerte-container .voorwaarden-label input[type="checkbox"] {
    margin-right: 6px;
    vertical-align: middle;
}

.offerte-container .voorwaarden-label a {
    color: #0073aa;
    text-decoration: none;
}

.offerte-container .voorwaarden-notice {
    display: inline-block;
    margin-left: 24px;
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

/* Kleine extra styling voor responsive */
@media (max-width: 600px) {
    .offerte-container {
        padding: 16px;
    }
    #pdf-container {
        height: 400px;
    }
    .offerte-container input[type="text"],
    .offerte-container input[type="email"],
    .offerte-container canvas#sig-canvas {
        max-width: 100%;
    }
    .offerte-container button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}
