/* ──────────────────────────────────────────
   PartyRent Flevoland - Offerte CSS
   ────────────────────────────────────────── */

.pr-offerte-page {
    padding: 20px 0 60px;
}

.pr-offerte-page h1 {
    color: var(--maincolor);
    margin-bottom: 20px;
}

/* Offerte tabel */
.pr-offerte-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.pr-offerte-table th {
    background: var(--maincolor);
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}
.pr-offerte-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.pr-offerte-table tbody tr:hover {
    background: #f9f9f9;
}
.pr-offerte-table img {
    border-radius: 3px;
}

.pr-col-img { width: 60px; }
.pr-col-remove { width: 40px; text-align: center; }
.pr-col-qty { width: 120px; }
.pr-col-price, .pr-col-subtotal { white-space: nowrap; }

.pr-offerte-total-label {
    text-align: right;
    font-weight: 700;
    font-size: 16px;
}
.pr-offerte-total-value {
    font-weight: 700;
    font-size: 18px;
    color: var(--maincolor);
}

.pr-remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
}
.pr-remove-item:hover {
    color: #c0392b;
}

/* Kleine qty controls in tabel */
.pr-qty-controls-small button {
    width: 28px;
    height: 28px;
    font-size: 14px;
}
.pr-qty-controls-small .pr-qty-input {
    width: 40px;
    height: 28px;
    font-size: 14px;
}

/* Offerte grid (kalender + form) */
.pr-offerte-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pr-offerte-kalender h2,
.pr-offerte-form h2 {
    color: var(--maincolor);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
}

.pr-datum-display {
    margin-top: 10px;
    font-weight: 600;
    color: var(--maincolor);
    font-size: 15px;
}

/* Formulier */
.pr-form-field {
    margin-bottom: 15px;
}
.pr-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}
.pr-form-field .required {
    color: #e74c3c;
}
.pr-form-field input,
.pr-form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    font-family: inherit;
}
.pr-form-field input:focus,
.pr-form-field textarea:focus {
    border-color: var(--maincolor);
    outline: none;
}

.pr-form-radio-group {
    display: flex;
    gap: 12px;
}

.pr-form-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    transition: border-color 0.2s;
}

.pr-form-radio:hover {
    border-color: var(--maincolor);
}

.pr-form-radio input[type="radio"]:checked + span,
.pr-form-radio:has(input:checked) {
    border-color: var(--maincolor);
    background: #eff6ff;
}

.pr-form-radio input[type="radio"] {
    appearance: radio !important;
    width: 16px;
    height: 16px;
}

.pr-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.pr-form-field-half {
    flex: 1;
    margin-bottom: 0;
}

.pr-submit-btn {
    background: var(--maincolor) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 5px !important;
    text-transform: uppercase;
    width: 100%;
    transition: opacity 0.2s;
}
.pr-submit-btn:hover {
    opacity: 0.85;
}
.pr-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pr-submit-btn i {
    margin-right: 8px;
}

/* Formulier berichten */
#pr-form-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
}
.pr-msg-error {
    background: #fce4e4;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}
.pr-msg-success {
    background: #eafaf1;
    color: #27ae60;
    border: 1px solid #27ae60;
}

/* Lege offerte */
#pr-offerte-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
#pr-offerte-empty a {
    color: var(--maincolor);
    font-weight: 600;
}

/* Bedankt pagina */
.pr-bedankt-inner {
    text-align: center;
    padding: 60px 20px;
}
.pr-bedankt-icon {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 20px;
}
.pr-bedankt-inner h2 {
    color: var(--maincolor);
}
.pr-bedankt-inner .button {
    display: inline-block;
    margin-top: 20px;
    background: var(--maincolor);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
}

/* ──────────────────────────────────────────
   Responsive
   ────────────────────────────────────────── */
@media screen and (max-width: 768px) {
    .pr-offerte-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .pr-offerte-table th:nth-child(1),
    .pr-offerte-table td:nth-child(1) {
        display: none;
    }
    .pr-col-price {
        display: none;
    }
}
