
/* =========================================
   Giggle & Glamour Public Booking Form
   ========================================= */

.gg-bm-public-booking-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 32px;
    border-radius: 20px;
    background: #fff5fa;
    color: #43243f;
    font-family: inherit;
}

/* Form layout */
.gg-bm-public-booking-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Standard field spacing */
.gg-bm-public-booking-form > p {
    margin: 0;
    min-width: 0;
}

/* Labels */
.gg-bm-public-booking-form > p > label,
.gg-bm-field-label {
    display: block;
    margin-bottom: 9px;
    color: #54204f;
    font-size: 15px;
    font-weight: 600;
}

/* Inputs, dropdowns and textareas */
.gg-bm-public-booking-form input[type="text"],
.gg-bm-public-booking-form input[type="email"],
.gg-bm-public-booking-form input[type="tel"],
.gg-bm-public-booking-form input[type="date"],
.gg-bm-public-booking-form input[type="time"],
.gg-bm-public-booking-form input[type="number"],
.gg-bm-public-booking-form select,
.gg-bm-public-booking-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #e8d5e2;
    border-radius: 10px;
    background-color: #fff;
    color: #43243f;
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

/* Focus */
.gg-bm-public-booking-form input:focus,
.gg-bm-public-booking-form select:focus,
.gg-bm-public-booking-form textarea:focus {
    border-color: #9b4d91;
    outline: none;
    box-shadow: 0 0 0 3px rgba(155, 77, 145, 0.12);
}

/* Textarea */
.gg-bm-public-booking-form textarea {
    min-height: 120px;
    resize: vertical;
    
}

/* Party theme section spans both columns */
.gg-bm-event-type-field {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
}

/* Keep theme cards in two columns */
.gg-bm-event-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* Theme card */
.gg-bm-event-type-card {
    display: block;
    position: relative;
    margin: 0;
    cursor: pointer;
}

.gg-bm-event-type-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.gg-bm-event-type-image {
    display: flex;
    position: relative;
    min-height: 260px;
    align-items: flex-end;
    overflow: hidden;
    padding: 18px;
    border: 3px solid transparent;
    border-radius: 12px;
    background-color: #e9e9e9;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.gg-bm-event-type-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.05) 75%
    );
}

.gg-bm-event-type-name {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.gg-bm-event-type-check {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #54204f;
    opacity: 0;
}

.gg-bm-event-type-card > input:checked
+ .gg-bm-event-type-image {
    border-color: #9b4d91;
}

.gg-bm-event-type-card > input:checked
+ .gg-bm-event-type-image
.gg-bm-event-type-check {
    opacity: 1;
}

.gg-bm-event-type-card > input:focus-visible
+ .gg-bm-event-type-image {
    outline: 3px solid #9b4d91;
    outline-offset: 3px;
}

/* Marketing consent */
.gg-bm-marketing-consent {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid #f0dce9;
    border-radius: 12px;
    background: #fff;
}

.gg-bm-marketing-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #654b60;
    font-size: 14px;
    line-height: 1.6;
}

.gg-bm-marketing-consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 4px;
    accent-color: #8d3e79;
}

/* Submit button */
.gg-bm-public-booking-form > p:last-child {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.gg-bm-public-booking-form button[type="submit"] {
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    background: #8d3e79;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

.gg-bm-public-booking-form button[type="submit"]:hover {
    background: #70305f;
    transform: translateY(-1px);
}

/* Notices */
.gg-bm-notice {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-radius: 12px;
}

.gg-bm-success {
    border: 1px solid #b8e4c4;
    background: #effaf2;
    color: #205c32;
}

.gg-bm-error {
    border: 1px solid #f0bcbc;
    background: #fff1f1;
    color: #8b2525;
}

/* Mobile */
@media (max-width: 600px) {
    .gg-bm-public-booking-wrapper {
        margin: 20px auto;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .gg-bm-public-booking-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gg-bm-event-type-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gg-bm-event-type-image {
        min-height: 220px;
    }
}





/* Booking form heading */
.gg-bm-form-header {
    grid-column: 1 / -1;
    margin-bottom: 8px;
    padding: 24px;
    text-align: center;
    background: linear-gradient(135deg, #fce7f3, #f3e8ff);
    border-radius: 16px;
}

.gg-bm-form-header h2 {
    margin: 0 0 10px;
    color: #54204f;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.gg-bm-form-header p {
    margin: 0;
    color: #806779;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .gg-bm-form-header {
        padding: 20px 14px;
    }

    .gg-bm-form-header h2 {
        font-size: 26px;
    }
}









/* ==========================================
   Giggle & Glamour Guest RSVP Form
   ========================================== */

.gg-bm-guest-rsvp {
    max-width: 720px;
    margin: 20px auto;
    padding: 32px;
    border: 1px solid #f0dce9;
    border-radius: 22px;
    background: #fff;
    color: #43243f;
    box-shadow: 0 12px 40px rgba(84, 32, 79, 0.08);
    box-sizing: border-box;
}

.gg-bm-guest-rsvp *,
.gg-bm-guest-rsvp *::before,
.gg-bm-guest-rsvp *::after {
    box-sizing: border-box;
}

/* Main heading */
.gg-bm-guest-rsvp > h2 {
    margin: 0 0 24px;
    padding: 24px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fce7f3, #f3e8ff);
    color: #54204f;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* Party details */
.gg-bm-party-details {
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid #f0dce9;
    border-radius: 14px;
    background: #fff5fa;
}

.gg-bm-party-details p {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #f0dce9;
    color: #654b60;
    line-height: 1.6;
}

.gg-bm-party-details p:last-child {
    border-bottom: 0;
}

.gg-bm-party-details strong {
    color: #54204f;
}

/* Form spacing */
.gg-bm-guest-rsvp-form > p {
    margin: 0 0 22px;
}

/* Labels */
.gg-bm-guest-rsvp-form > p > label,
.gg-bm-guest-rsvp-form fieldset > label {
    color: #54204f;
    font-size: 15px;
    font-weight: 600;
}

/* Text fields and dropdowns */
.gg-bm-guest-rsvp-form input[type="text"],
.gg-bm-guest-rsvp-form input[type="email"],
.gg-bm-guest-rsvp-form input[type="number"],
.gg-bm-guest-rsvp-form input[type="date"],
.gg-bm-guest-rsvp-form select,
.gg-bm-guest-rsvp-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 14px;
    border: 1px solid #e8d5e2;
    border-radius: 10px;
    background: #fffbfd;
    color: #43243f;
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.gg-bm-guest-rsvp-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Focus state */
.gg-bm-guest-rsvp-form input:focus,
.gg-bm-guest-rsvp-form select:focus,
.gg-bm-guest-rsvp-form textarea:focus {
    border-color: #9b4d91;
    outline: none;
    box-shadow: 0 0 0 3px rgba(155, 77, 145, 0.12);
}

/* Attendance options and child detail cards */
.gg-bm-guest-rsvp-form fieldset,
#gg-bm-rsvp-children-details fieldset {
    min-width: 0;
    margin: 0 0 22px;
    padding: 20px;
    border: 1px solid #ead6e5;
    border-radius: 14px;
    background: #fffbfd;
}

.gg-bm-guest-rsvp-form legend {
    padding: 0 8px;
    color: #54204f;
    font-weight: 700;
}

.gg-bm-guest-rsvp-form fieldset > label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 20px 4px 0;
}

.gg-bm-guest-rsvp-form input[type="radio"],
.gg-bm-guest-rsvp-form input[type="checkbox"] {
    accent-color: #8d3e79;
}

/* Generated child fields */
#gg-bm-rsvp-children-details fieldset label {
    display: block;
    margin: 14px 0;
    color: #54204f;
    font-weight: 600;
}

#gg-bm-rsvp-children-details fieldset input {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 8px;
    padding: 11px 12px;
    border: 1px solid #e8d5e2;
    border-radius: 10px;
    background: #fff;
    color: #43243f;
    font: inherit;
}

/* Consent checkboxes */
.gg-bm-guest-rsvp-form > p:has(input[type="checkbox"]) {
    padding: 14px 16px;
    border: 1px solid #f0dce9;
    border-radius: 12px;
    background: #fff5fa;
}

.gg-bm-guest-rsvp-form > p:has(input[type="checkbox"]) > label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #654b60;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.gg-bm-guest-rsvp-form input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 5px;
}

/* Submit button */
.gg-bm-guest-rsvp-form > p:last-child {
    margin-top: 26px;
    margin-bottom: 0;
}

.gg-bm-guest-rsvp-form button[type="submit"] {
    width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    background: #8d3e79;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

.gg-bm-guest-rsvp-form button[type="submit"]:hover {
    background: #70305f;
    transform: translateY(-1px);
}

/* Mobile layout */
@media (max-width: 600px) {
    .gg-bm-guest-rsvp {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .gg-bm-guest-rsvp > h2 {
        padding: 20px 12px;
        font-size: 25px;
    }

    .gg-bm-party-details {
        padding: 14px;
    }

    .gg-bm-guest-rsvp-form fieldset,
    #gg-bm-rsvp-children-details fieldset {
        padding: 14px;
    }
}



/* Make Additional Information span the full width */
.gg-bm-public-booking-form p:has(#gg-bm-booking-notes) {
    grid-column: 1 / -1;
}

#gg-bm-booking-notes {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}