﻿/**
 * DJ/KJ — booking form + booking-success only.
 * WP: enqueued only when that embed is on the page (see djkg_collect_embed_slugs).
 * Static: linked after custom-djkj.css from booking.html / booking-success.html.
 * Depends on custom-djkj.css for shared @import fonts (Aclonica / Orbitron / Rajdhani).
 */

/* ========== Booking page (transparent page bg; #161b22 cards, white underlines, Orbitron headings) ========== */
.djkg-shortcode-root[data-djkj-page="booking.html"] {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.djkg-shortcode-root[data-djkj-page="booking.html"] .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.djkj-booking-page.booking_table_wrapper.dm_cover,
.djkg-shortcode-root[data-djkj-page="booking.html"] .booking_table_wrapper.djkj-booking-page {
    float: none !important;
    width: 100% !important;
    background: transparent !important;
    min-height: 0;
    padding-top: 48px !important;
    padding-bottom: 60px !important;
    color: #ffffff !important;
}

.djkj-booking-page input[type="date"] {
    color-scheme: dark;
}

.djkj-booking-page .booking_form_field.contact_us_field_wrapper.djkj-booking-enhanced {
    float: none !important;
    width: 100% !important;
    position: relative !important;
    z-index: auto !important;
    margin: 0 !important;
    padding: 28px 26px 32px !important;
    background: #161b22 !important;
    border: 1px solid rgba(100, 130, 180, 0.22) !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.djkj-booking-page .booking_form_field.djkj-booking-enhanced,
.djkg-shortcode-root[data-djkj-page="booking.html"] .booking_form_field.djkj-booking-enhanced {
    color: #ffffff !important;
}

.djkj-booking-hero {
    text-align: center;
    padding-bottom: 36px;
}

.djkj-booking-hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.65rem, 3.8vw, 2.25rem);
    font-weight: 700;
    color: #ff6b6b !important;
    -webkit-text-fill-color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 14px 0;
    line-height: 1.2;
}

.djkj-booking-hero-sub {
    margin: 0 auto;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.92);
}

.djkj-booking-section-title {
    margin: 0 0 18px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 10px;
}

.djkj-booking-field {
    margin-bottom: 20px;
}

.djkj-booking-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    margin-bottom: 6px;
}

/* Elementor / Hello / Bootstrap often set label { color: … !important } — beat it */
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-label,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-enhanced label,
.djkg-shortcode-root[data-djkj-page="booking.html"] .form-group label,
.elementor-widget-container .djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-label,
.elementor-widget-container .djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-enhanced label,
.elementor-widget-text-editor .djkg-shortcode-root[data-djkj-page="booking.html"] label.djkj-booking-label,
.djkj-booking-page .djkj-booking-enhanced .form-group > label {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.djkj-booking-label--inline {
    margin-bottom: 12px;
}

.djkj-booking-page .djkj-booking-input,
.djkj-booking-page .djkj-booking-enhanced .form-control.djkj-booking-input,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-input,
.djkg-shortcode-root[data-djkj-page="booking.html"] .form-control.djkj-booking-input {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.88) !important;
    border-radius: 0 !important;
    color: #ffffff !important;
    padding: 10px 0 12px !important;
    height: auto !important;
    min-height: 0 !important;
    box-shadow: none !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

.djkj-booking-page .djkj-booking-input::placeholder,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-input::placeholder {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

.djkj-booking-page .djkj-booking-input::-webkit-input-placeholder,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-input::-webkit-input-placeholder {
    color: #ffffff !important;
    opacity: 0.9 !important;
    -webkit-text-fill-color: #ffffff;
}

.djkj-booking-page .djkj-booking-input::-moz-placeholder,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-input::-moz-placeholder {
    color: #ffffff !important;
    opacity: 0.9 !important;
}

.djkj-booking-page .djkj-booking-input:focus,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-input:focus {
    outline: none !important;
    border-bottom-color: #ff6b6b !important;
    box-shadow: 0 1px 0 0 #ee5253 !important;
}

/* Selects: closed state text must stay white (Event Type, Service Type, Package, …) */
.djkj-booking-page select.djkj-booking-input.djkj-booking-select,
.djkg-shortcode-root[data-djkj-page="booking.html"] select.djkj-booking-input.djkj-booking-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' fill-opacity='0.85' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 28px !important;
    cursor: pointer;
}

.djkj-booking-page select.djkj-booking-input option,
.djkg-shortcode-root[data-djkj-page="booking.html"] select.djkj-booking-input option {
    background: #161b22;
    color: #ffffff;
}

/* Date picker visible text (Event Date*) */
.djkj-booking-page input[type="date"].djkj-booking-input,
.djkg-shortcode-root[data-djkj-page="booking.html"] input[type="date"].djkj-booking-input {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

.djkj-booking-page input[type="date"].djkj-booking-input::-webkit-datetime-edit,
.djkj-booking-page input[type="date"].djkj-booking-input::-webkit-datetime-edit-fields-wrapper,
.djkj-booking-page input[type="date"].djkj-booking-input::-webkit-datetime-edit-text,
.djkg-shortcode-root[data-djkj-page="booking.html"] input[type="date"].djkj-booking-input::-webkit-datetime-edit,
.djkg-shortcode-root[data-djkj-page="booking.html"] input[type="date"].djkj-booking-input::-webkit-datetime-edit-fields-wrapper,
.djkg-shortcode-root[data-djkj-page="booking.html"] input[type="date"].djkj-booking-input::-webkit-datetime-edit-text {
    color: #ffffff;
}

.djkj-booking-page input[type="date"].djkj-booking-input::-webkit-calendar-picker-indicator,
.djkg-shortcode-root[data-djkj-page="booking.html"] input[type="date"].djkj-booking-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.85;
    cursor: pointer;
}

/* Number fields (Guest Count) */
.djkj-booking-page input[type="number"].djkj-booking-input,
.djkg-shortcode-root[data-djkj-page="booking.html"] input[type="number"].djkj-booking-input {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

.djkj-booking-page .djkj-booking-textarea {
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.88) !important;
    border-radius: 0 !important;
    padding: 10px 0 12px !important;
    min-height: 72px;
    resize: vertical;
}

.djkj-booking-page .djkj-booking-textarea:focus,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-textarea:focus {
    border-bottom-color: #ff6b6b !important;
    box-shadow: 0 1px 0 0 #ee5253 !important;
}

.djkj-booking-addons {
    margin-bottom: 8px;
}

.djkj-booking-check-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 768px) {
    .djkj-booking-check-row {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
    }

    .djkj-booking-check-row .djkj-booking-check {
        flex: 1;
        min-width: 0;
    }
}

.djkj-booking-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    cursor: pointer;
}

.djkj-booking-check span,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-check,
.djkg-shortcode-root[data-djkj-page="booking.html"] .djkj-booking-check span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.djkj-booking-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    border: 2px solid #fff;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.djkj-booking-check input[type="checkbox"]:checked {
    background: #ff6b6b;
    border-color: #ee5253;
    box-shadow: inset 0 0 0 2px #161b22;
}

.djkj-booking-check--full {
    margin-bottom: 10px;
}

.djkj-booking-terms {
    margin: 8px 0 24px;
    padding-top: 8px;
}

.djkj-booking-response {
    min-height: 22px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
}

.djkj-booking-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 360px;
    margin: 0 auto;
    padding-top: 8px;
}

.djkj-booking-page button.djkj-booking-btn,
.djkg-shortcode-root[data-djkj-page="booking.html"] button.djkj-booking-btn {
    font-family: 'Orbitron', sans-serif !important;
    line-height: 1.25;
}

.djkj-booking-btn {
    display: block;
    width: 100%;
    max-width: 320px;
    padding: 15px 28px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none !important;
    border-width: 0;
    text-align: center;
}

.djkj-booking-btn--primary {
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5253 100%);
    color: #fff !important;
    box-shadow:
        0 4px 24px rgba(238, 82, 83, 0.5),
        0 0 32px rgba(255, 107, 107, 0.22);
}

.djkj-booking-btn--primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
    transform: translateY(-1px);
}

.djkj-booking-btn--primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.djkj-booking-btn--back {
    max-width: 220px;
    padding: 11px 20px;
    font-size: 11px;
    background: linear-gradient(180deg, #ff6b6b 0%, #ee5253 100%);
    color: #fff !important;
    box-shadow:
        0 3px 18px rgba(238, 82, 83, 0.45),
        0 0 22px rgba(255, 107, 107, 0.18);
}

.djkj-booking-btn--back:hover {
    filter: brightness(1.06);
    color: #fff !important;
    transform: translateY(-1px);
}

.djkj-booking-page .djkj-booking-summary.djkj-guest-card,
.djkj-booking-summary.djkj-guest-card {
    position: sticky;
    top: 24px;
    border: 1px solid rgba(100, 130, 180, 0.22) !important;
    border-radius: 10px !important;
    padding: 24px 22px !important;
    background: #161b22 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    margin-bottom: 0 !important;
}

.djkj-booking-summary-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.djkj-booking-summary p {
    margin-bottom: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    text-align: left;
}

.djkj-booking-summary p span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}

.djkj-booking-sum-line--emphasis span {
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
}

.djkj-booking-summary strong {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    min-width: 200px;
}

.djkj-booking-summary p.djkj-booking-summary-note,
.djkj-booking-summary-note {
    margin-top: 18px !important;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px !important;
    line-height: 1.55;
    color: #8a8a96 !important;
    -webkit-text-fill-color: #8a8a96 !important;
}

@media (max-width: 991px) {
    .djkj-booking-summary {
        position: static;
        margin-top: 28px;
    }
}

/* Booking success: no missing image; no overlapping “bars”; centered actions */
.djkj-booking-success-page .djkj-success-heading {
    position: relative;
    text-align: center;
    padding-bottom: 28px;
}

.djkj-booking-success-page .djkj-success-heading h2 {
    margin-bottom: 16px !important;
    padding-top: 8px;
}

.djkj-booking-success-page .djkj-success-sub {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    font-size: 16px;
}

.djkj-booking-success-page .djkj-success-card-inner {
    text-align: center;
}

.djkj-booking-success-page .djkj-success-card-inner p,
.djkj-booking-success-page .djkj-success-card-inner h1 {
    text-align: center;
}

.djkj-booking-success-page .hs_btn_wrapper {
    margin-top: 28px;
}

.djkj-booking-success-page .hs_btn_wrapper ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px 20px;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100%;
    float: none !important;
}

.djkj-booking-success-page .hs_btn_wrapper ul li {
    float: none !important;
    display: block;
    margin: 0 !important;
}

.djkj-booking-success-page .hs_btn_wrapper li a {
    text-decoration: none !important;
}
