/* Doesburg Reserveringssysteem Styling */
.doesburg-form-container {
    max-width: 800px;
}

.doesburg-form-container > p {
    margin-bottom: 1rem;
    font-size: 14px;
}

.doesburg-form-container h2 {
    font-size: 1.5rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #006ab2;
    margin-bottom: .25rem;
}

.doesburg-form-step {
    display: none;
    background: #f6f5f4;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: visible;
}

.doesburg-form-step .datepicker {
    width: 100%;
    display: block;
}

.doesburg-form-row input[type="text"],
.doesburg-form-row input[type="email"],
.doesburg-form-row input[type="tel"],
.doesburg-form-row input[type="date"],
.doesburg-form-row input[type="time"],
.doesburg-form-row select,
.doesburg-form-row textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 42px;
    background-color: #fff;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

.doesburg-form-row textarea {
    height: auto;
}

.doesburg-form-row input.datepicker-input,
.doesburg-form-row select.doesburg-time-select {
    padding-left: 42px;
    cursor: pointer;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 12px 50%;
    background-size: 18px 18px;
}

.doesburg-form-row input.datepicker-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23006ab2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

.doesburg-form-row select.doesburg-time-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23006ab2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 16 14'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-position: 12px 50%, calc(100% - 10px) 50%;
    background-size: 18px 18px, 12px 12px;
    padding-right: 32px;
}

.doesburg-form-row input.datepicker-input:focus,
.doesburg-form-row select.doesburg-time-select:focus,
.doesburg-form-row input:focus,
.doesburg-form-row select:focus,
.doesburg-form-row textarea:focus {
    outline: none;
    border-color: #006ab2;
    box-shadow: 0 0 0 3px rgba(0, 106, 178, 0.12);
}

.doesburg-form-row input.is-invalid,
.doesburg-form-row select.is-invalid,
.doesburg-form-row textarea.is-invalid {
    border-color: #D32F2F;
    background-color: #fff8f8;
}

.doesburg-datetime-card {
    background: #fff;
    border: 1px solid #e6e2de;
    border-radius: 8px;
    padding: 16px;
}

.doesburg-datetime-card .doesburg-form-row:last-child {
    margin-bottom: 0;
}

.doesburg-rental-summary {
    margin: 0 0 20px;
    padding: 10px 14px;
    background: #e8f4fb;
    color: #006ab2;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.doesburg-form-note,
.doesburg-form-hint {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.doesburg-optional {
    font-weight: 400;
    color: #888;
}

.doesburg-form-step .datepicker__wrapper {
    z-index: 40;
    width: min(20rem, calc(100vw - 3rem));
    border-color: #cfe3f2;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.doesburg-form-step .datepicker__header {
    background: #006ab2;
    border-radius: 7px 7px 0 0;
}

.doesburg-form-step .datepicker__title {
    color: #fff;
}

.doesburg-form-step .datepicker table th {
    color: #006ab2;
    font-size: 0.7rem;
}

.doesburg-form-step .datepicker__day.is-today {
    color: #006ab2;
}

.doesburg-form-step .datepicker__day.is-selected div {
    background: #006ab2;
}

.doesburg-form-step .datepicker__day div:hover,
.doesburg-form-step .datepicker__day.is-highlighted div {
    background: #e8f4fb;
}

.doesburg-form-step .datepicker__prev:hover,
.doesburg-form-step .datepicker__next:hover {
    background-color: #005a97;
}

.doesburg-form-step .datepicker__day.is-disabled,
.doesburg-form-step .datepicker__day.is-otherMonth {
    color: #c5d6e4;
}



.doesburg-form-step h3 {
    font-size: 1.25rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.doesburg-form-step.active {
    display: block;
}

.doesburg-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.doesburg-step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.doesburg-step-dot.active {
    background: #17a086;
    color: white;
}

.doesburg-step-dot.completed {
    background: rgb(0, 106, 178);
    color: white;
}

.doesburg-step-line {
    flex-grow: 1;
    height: 2px;
    background: #ddd;
    margin: 15px 10px 0;
}

.doesburg-form-row {
    margin-bottom: 20px;
}

.doesburg-form-row.checkbox {
    margin-bottom: 8px;
}

.doesburg-form-row.checkbox label {
    font-weight: normal;
}

.doesburg-form-row label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 700;
    font-size: 14px;
}

.doesburg-form-row.checkbox label {
    display: inline;
    margin-left: 5px;
}

.doesburg-form-row.checkbox input {
    width: auto;

}

.doesburg-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.doesburg-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}



.doesburg-btn-prev {
    background: #f1f1f1;
    color: #333;
}

.doesburg-btn-submit,
.doesburg-btn-next {
    color: rgb(24, 24, 24);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    transition: 0.2s ease-in-out;
    background: rgb(255, 204, 0);
    border-radius: 3px;
    padding: 15px;
}

.doesburg-error {
    color: #D32F2F;
    margin-top: 5px;
    font-size: 0.9em;
}

.doesburg-success {
    background: #E8F5E9;
    color: #388E3C;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.doesburg-col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .doesburg-col-2 {
        grid-template-columns: 1fr;
    }
}
