/* --- Form wrapper --- */
.booking-form {
    background: #F6F5F4;
    border-radius: 7px;
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-family: 'Hanken Grotesk', sans-serif;
    color: #262626;
    position: relative;
}

.booking-form .service-header h2 {
    font-family: 'Lora', serif;
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-align: center;
}

.booking-form .service-header p {
    margin-bottom: 3rem;
    text-align: center;
}

.booking-form .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.booking-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.booking-form label {
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 14px;
}

.summary-sum-label {
    font-weight: 600;
    font-size: 1.2rem;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="number"],
.booking-form select,
.booking-form textarea {
    border: 1px solid #dfdbd8;
    border-radius: 7px;
    padding: 0.6rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
    outline: none !important;
    border: 1px solid #B0A5D8 !important;
}

.booking-form textarea {
    resize: vertical;
}

/* Radio and checkbox circular */
.booking-form input[type="checkbox"],
.booking-form input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #dfdbd8;;
    border-radius: 2%;
    background: white;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
/* Radio and checkboxes checked */
.booking-form input[type="checkbox"]:checked,
.booking-form input[type="radio"]:checked {
    background: #dfdbd8;
    border: 1px solid  #bcb7b4;
}

.booking-form input[type="checkbox"]:focus,
.booking-form input[type="radio"]:focus {
    border-color: #bcb7b4;
    outline: none;
}

/* Spaces between */
.booking-form .form-group.frequency-options {
    margin-top: 2.5rem;
}

.booking-form .form-group.frequency-options,
.booking-form .form-group.extras,
.booking-form .form-group.custom-questions,
.booking-form .form-group.custom-times {
    margin-bottom: 2.5rem;
}

/* GDPR checkbox and link */
.booking-form .form-group.gdpr label {
    font-weight: normal;
    font-size: 0.9rem;
}

.booking-form .form-group.gdpr a {
    color: #B0A5D8;
    text-decoration: underline;
}

.booking-form .form-group.gdpr a:hover {
    color: #6E60A3;
    text-decoration-thickness: 2px;
}

.booking-form .form-group.gdpr a {
    transition: color 0.2s ease;
}

.booking-form .form-group.gdpr input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 0.3rem;
    margin-bottom: -2px;
    flex-shrink: 0;
}

/* --- Section labels (bold & larger) --- */
.booking-form .section-label {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* --- Option boxes --- */
.booking-form .frequency-option,
.booking-form .extra-option,
.booking-form .custom-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #EEEBE8;
    border: 1px solid #dfdbd8;
    border-radius: 7px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: border 0.3s ease, background 0.3s ease;
}

.booking-form .frequency-option:hover,
.booking-form .extra-option:hover,
.booking-form .custom-question:hover {
    border-color: #B0A5D8;
    background: #B0A5D82B;
}

.booking-form .frequency-option input,
.booking-form .extra-option input,
.booking-form .custom-question input {
    margin-left: 1rem;
}

.booking-form .frequency-option .option-content,
.booking-form .extra-option .option-content,
.booking-form .custom-question .option-content {
    flex: 1;
}

.booking-form .frequency-option strong,
.booking-form .custom-question strong {
    display: block;
    margin-bottom: 0.3rem;
}

.booking-form .extra-option strong {
    display: block;
    margin-bottom: 0.3rem;
}

.booking-form .extra-option .description {
    font-size: 0.9rem;
    color: #555;
}

.booking-form .frequency-option .description,
.booking-form .custom-question .description {
    font-size: 0.9rem;
    color: #555;
}

/* --- Booking summary --- */
.booking-form .booking-summary {
    background: #EEEBE8;
    padding: 1rem;
    border-radius: 7px;
    font-size: 0.95rem;
    color: #262626;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.booking-form .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid #dcd6d0;
}

.booking-form .summary-row.total {
    /* Removed border-top to avoid misalignment */
    padding-top: 0.5rem;
}

.booking-form .summary-label {
    font-weight: 500;
}

.booking-form .summary-price {
    font-weight: 500;
}

/* --- Submit button --- */
.booking-form .booking-submit {
    background: #B0A5D8;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 7px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.booking-form .booking-submit:hover {
    background: #6E60A3;
}

/* --- Go back icon --- */
.booking-back-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.booking-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #6E60A3;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.booking-back:hover {
    color: #4F437A;
    transform: translateX(-2px);
}

.booking-back__icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .booking-form {
    padding: 0rem;
    }

    .booking-form h2,
    .booking-form p {
        text-align: left;
        margin-bottom: 1rem;
    }

    .booking-form .form-row {
        flex-direction: column;
    }

    .booking-form .frequency-option,
    .booking-form .extra-option,
    .booking-form .custom-question {
        position: relative;
        padding-right: 3rem;
    }

    .booking-form .frequency-option input,
    .booking-form .extra-option input,
    .booking-form .custom-question input {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin: 0;
    }

    .booking-form .booking-summary {
        width: 100%;
        position: static;
        margin-top: 2rem;
    }

    /* --- Form rows that should be inline --- */
    .booking-form .form-row.inline-fields {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .booking-form .form-row.inline-fields .form-group {
        flex: 1;
        min-width: 46%; /* ensure spacing between two fields */
    }

    /* Keep other rows like Adress, KVM fullwidth */
    .booking-form .form-row.fullwidth-row {
        flex-direction: column;
    }

    /* Extra vertical spacing between inline field rows */
    .booking-form .form-row.inline-fields {
        margin-bottom: 1.5rem;
    }

    .booking-form .form-row.fullwidth-row {
        margin-bottom: 1.5rem;
    }

    .booking-form .form-row.inline-fields:last-child {
        margin-bottom: 0;
    }

    .booking-form .service-header h2,
    .booking-form .service-header p {
        text-align: left;
    }

    .booking-form label {
    margin-bottom: 0.5rem; /* was 0.3rem */
    }

    .booking-back-wrapper {
    display: flex;
    justify-content: left;
    margin-bottom: 0.5rem;
}

}