/* Multi-Step Inquiry Modal Styles */

.wb {
    --a: #5E3517;
    --b: #5E3517;
    --c: #D2A679;
    --d: #FDF8F3;
    --e: #2C1810;
    --f: #6B5242;
    --g: #9A8577;
    --h: #E8DDD3;
    --i: #DDD0C3;
    font-family: "Chivo", sans-serif;
    color: var(--e);
}

.wb h1,
.wb h2,
.wb h3,
.wb h4,
.wb h5,
.wb h6 {
    font-family: "Chivo", sans-serif !important;
}

.div:where(.swal2-container) div:where(.swal2-popup),
.div:where(.swal2-container) h2:where(.swal2-title) {
    font-family: "Chivo", sans-serif !important;
}

/* Modal */
.wb .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(44, 24, 16, .25);
}

.wb .modal-body {
    padding: 0;
    display: flex;
    height: 90vh;
}

/* Sidebar */
.wb .wb-sidebar {
    width: 250px;
    min-width: 250px;
    background: #F6EDE8;
    border-right: 1px solid var(--h);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wb .wb-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.wb .wb-sn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wb .wb-sc {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #5E3517;
    background: transparent;
    transition: all .3s;
    overflow: hidden;
}

.wb .wb-sn.on .wb-sc {
    background: var(--a);
    border-color: var(--a);
    box-shadow: 0 4px 16px rgba(92, 46, 14, .3);
}

.wb .wb-sn.ok .wb-sc {
    background: var(--b);
    border-color: var(--b);
}

.wb .wb-sc img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all .3s;
}

.wb .wb-sn.on .wb-sc img,
.wb .wb-sn.ok .wb-sc img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.wb .wb-sl {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    color: var(--g);
    line-height: 1.3;
    transition: color .3s;
}

.wb .wb-sn.on .wb-sl {
    color: var(--a);
}

.wb .wb-sn.ok .wb-sl {
    color: var(--b);
}

.wb .wb-ln {
    width: 2px;
    height: 40px;
    margin: 6px 0;
    background: repeating-linear-gradient(to bottom, var(--i) 0 4px, transparent 4px 8px);
}

.wb .wb-ln.ok {
    background: repeating-linear-gradient(to bottom, var(--b) 0 4px, transparent 4px 8px);
}

/* Panel */
.wb .wb-p {
    flex: 1;
    display: none;
    flex-direction: column;
    min-height: 0;
    position: relative;
}

.wb .wb-p.on {
    display: flex;
    animation: wi .4s ease;
}

@keyframes wi {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Common layout */
.wb .wb-hd {
    padding: 28px 36px 0;
    flex-shrink: 0;
}

.wb .wb-tg {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--a);
    margin-bottom: 4px;
}

.wb .wb-tt {
    font-size: 36px;
    font-weight: 700;
    color: #2A2A2A;
    margin: 5px 0;
    line-height: 100%;
}

.wb .wb-bd {
    flex: 1;
    overflow-y: auto;
    padding: 24px 36px;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--c) transparent;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.wb-loader-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wb .wb-bd::-webkit-scrollbar {
    width: 6px;
}

.wb .wb-bd::-webkit-scrollbar-thumb {
    background: var(--c);
    border-radius: 3px;
}

.wb .wb-ft {
    padding: 16px 36px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
    border-top: 1px solid var(--h);
    background: #fff;
}

.wb .btn-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    opacity: 1;
    background-image: none;
    transition: 0.1s ease-in;
    border-radius: 50%;
}

.wb .wb-btn {
    font-family: "Chivo", sans-serif;
    text-transform: uppercase;
    color: var(--a);
    background: 0 0;
    border: 1px solid var(--a);
    border-radius: 50px;
    padding: 10px 25px 8px 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all .3s;
}

.wb .wb-btn:hover {
    background: var(--a);
    color: #fff;
    box-shadow: 0 4px 20px rgba(92, 46, 14, .3);
    transform: translateY(-1px);
}

.swal2-confirm {
    background: #5E3517 !important;
    color: #fff !important;
}

/* Radio card grid */
.wb .wb-g {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wb .wb-g label {
    display: block;
    position: relative;
    cursor: pointer;
}

.wb .wb-g .wb-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    overflow: hidden;
    transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
}

.wb .wb-g label:hover .wb-card {
    border-color: var(--c);
    box-shadow: 0 8px 32px rgba(92, 46, 14, .14);
    transform: translateY(-2px);
}

.wb .wb-g input:checked~.wb-card {
    border-color: var(--a) !important;
    background-color: var(--d);
    box-shadow: 0 0 0 1px var(--a), 0 12px 40px rgba(92, 46, 14, .18) !important;
    transform: translateY(-4px);
}

.wb .wb-g .wb-card .checked-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 5;
    opacity: 0;
    transform: scale(0.5);
    transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(92, 46, 14, 0.3);
}

.wb .wb-g input:checked~.wb-card .checked-badge {
    opacity: 1;
    transform: scale(1);
}

/* Custom radio circle on card */
.wb .wb-g input[type=radio] {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 14px;
    left: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .7);
    background: transparent;
    backdrop-filter: blur(4px);
    z-index: 3;
    margin: 0;
    cursor: pointer;
    transition: all .3s;
}

.wb .wb-g input[type=radio]:checked {
    border-color: var(--a);
    background: var(--a);
}

.wb .wb-g input[type=radio]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

/* Common: card image + body */
.wb .wb-ci {
    width: 100%;
    aspect-ratio: 20/10;
    background: linear-gradient(135deg, #E8DDD3, #D2C4B4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wb .wb-ci img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb .wb-cb {
    padding: 16px 18px 20px;
}

.wb .wb-cb h5 {
    font-family: "Chivo", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #2A2A2A;
    margin-bottom: 6px;
    line-height: 1.6;
}

.wb .wb-cb p {
    font-size: 14px;
    color: #5C5C5C;
    margin: 0;
    line-height: 1.5;
    letter-spacing: -0.16px;
}

/* Summary row */
.wb .wb-sr {
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #ECECEC;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #fff;
    transition: all .3s;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.wb .wb-sr:hover {
    border-color: var(--h);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.wb .wb-sr .wb-ci {
    width: 130px;
    min-width: 130px;
    height: 90px;
    aspect-ratio: auto;
    border-radius: 8px 0 0px 8px;
}

.wb .wb-sr h5 {
    font-family: "Chivo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--e);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.wb .wb-sr p {
    font-size: 14px;
    color: #5C5C5C;
    margin: 0;
}

.wb .wb-st {
    font-family: "Chivo", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--a);
    margin-bottom: 10px;
    line-height: 120%;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wb .wb-st::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--a);
    border-radius: 50%;
}

.wb hr {
    border: 0;
    height: 1px;
    background: var(--h);
    margin: 16px 0;
    opacity: 1;
}

/* Form Styles */
.wb .wb-fc {
    font-family: "Chivo", sans-serif;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 16px;
    color: var(--e);
    background: #fff;
    outline: 0;
    transition: all .3s;
}

.wb .wb-fc::placeholder {
    color: #A3A3A3;
}

.wb .wb-fc:focus {
    border-color: var(--b);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, .08);
}

.wb select.wb-fc {
    appearance: none;
    cursor: pointer;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%239A8577' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.wb .wb-iw {
    position: relative;
}

.wb .wb-iw .wb-fc {
    padding-right: 44px;
}

.wb .wb-iw .wb-ico {
    position: absolute;
    right: 14px;
    top: 24px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
    opacity: 0.6;
}

.wb input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}



.wb .wb-r2>div {
    min-width: 0;
}

.wb .wb-gr {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.wb .wb-lb {
    display: block;
    color: #5C5C5C;
    font-family: Chivo;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.2px;
    margin-bottom: 5px;
}

.wb .wb-ag {
    font-family: "Chivo", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--a);
    background: 0 0;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.wb-gr.guest-row {
    background: #fff9f5;
    padding: 5px 5px;
    border-radius: 10px;
    margin-bottom: 10px !important;
    border: 1px solid #d4d4d4;
}

.wb .btn-remove-guest {
    position: absolute;
    right: -10px;
    top: -10px;
    border: none;
    border-radius: 50%;

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 15;
    padding: 0;
    line-height: 1;
}

.wb .btn-remove-guest i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    width: 100%;
    height: 100%;
    margin: 0;
    width: 24px;
    height: 24px;
    background: #dc3545;
    border-radius: 50%;
    color: #fff;
}

.wb .btn-remove-guest i::before {
    line-height: 1;
    vertical-align: 0;
}

.wb .btn-remove-guest:hover {
    background: #c82333;
}

.wb .wb-ag:hover {
    color: var(--b);
}

.wb .wb-cy {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: #fff;
}

.wb .wb-fl {
    width: 28px;
    height: 20px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid var(--h);
    flex-shrink: 0;
}

.wb .wb-fl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb .wb-cy span {
    font-size: 14px;
    font-weight: 500;
    color: var(--e);
}

.wb .wb-cy .wb-ar {
    font-size: 12px;
    color: var(--g);
    margin-left: -4px;
    font-weight: 400;
}

.wb .wb-ck {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    cursor: pointer;
    flex-wrap: wrap;
}

.wb span.error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    display: block;
    width: 100%;
}

.wb .wb-ck span.error {
    margin-top: 0;
    margin-left: 30px;
    /* Align with label start */
}

.wb .wb-ck input {
    appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid var(--i);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    margin-top: 1px;
    position: relative;
    transition: all .3s;
}

.wb .wb-ck input:checked {
    background: var(--a);
    border-color: var(--a);
}

.wb .wb-ck input:checked::after {
    content: '✓';
    color: #fff;
    font-size: 13px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wb .wb-ck label {
    font-size: 14px;
    color: var(--f);
    cursor: pointer;
    line-height: 1.5;
}

.wb .wb-ck label a {
    color: var(--a);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Loader Styles */
.wb-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    width: 100%;
}

.wb-loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--h);
    border-bottom-color: var(--a);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wb .btn-close:hover {
    opacity: 1;
}

.btn-close:hover {
    color: var(--a) !important;
}

.wb .btn-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 10;
    opacity: 1;
    background-image: none;
    transition: 0.1s ease-in;
}

.btn-close:hover {
    color: var(--bs-btn-close-color);
    text-decoration: none;
    opacity: var(--bs-btn-close-hover-opacity);
}



/* Responsive Fixes */

@media (min-width: 1400px) {
    .modal-xl {
        --bs-modal-width: 1380px !important;
    }
}

@media (max-width: 1199.98px) {
    .wb .wb-g {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {

    .wb .modal-body {
        flex-direction: column;
        height: 85vh
    }

    .wb .wb-sidebar {
        width: 100%;
        min-width: 100%;
        flex-direction: row;
        padding: 16px 20px;
        justify-content: center;
        border-right: 0;
        border-bottom: 1px solid var(--h)
    }

    .wb .wb-steps {
        flex-direction: row;
        width: auto
    }

    .wb .wb-ln {
        width: 36px;
        height: 2px;
        margin: 0 6px;
        align-self: center;
        background: repeating-linear-gradient(to right, var(--i) 0 4px, transparent 4px 8px)
    }

    .wb .wb-ln.ok {
        background: repeating-linear-gradient(to right, var(--b) 0 4px, transparent 4px 8px)
    }

    .wb .wb-sc {
        width: 48px;
        height: 48px
    }

    .wb .wb-sc img {
        width: 22px;
        height: 22px
    }

    .wb .wb-sl {
        font-size: 9px;
        margin-top: 6px
    }

    .wb .wb-hd {
        padding: 20px 24px 0
    }

    .wb .wb-tt {
        font-size: 26px
    }

    .wb .wb-bd {
        padding: 20px 24px
    }

    .wb .wb-ft {
        padding: 14px 24px 20px
    }

}


/* iPad portrait (768px) — date & guest grids overflow fix */
@media (max-width: 768px) {

    .wb .wb-r2 {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .wb .wb-gr {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .wb .modal-body {
        height: 88vh
    }

}

@media (max-width: 767.98px) {

    .wb .wb-g {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .wb .wb-g .wb-card {
        display: flex
    }

    .wb .wb-ci {
        width: 120px;
        min-width: 120px;
        aspect-ratio: auto;
        height: 100%;
        min-height: 100px
    }

    .wb .wb-cb {
        padding: 14px 16px;
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .wb .wb-g input[type=radio] {
        top: 10px;
        left: 10px;
        width: 20px;
        height: 20px
    }

    .wb .wb-gr,
    .wb .wb-r2 {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .wb .wb-tt {
        font-size: 22px;
        padding-right: 36px
    }

    .wb .wb-sl {
        display: none
    }

    .wb .wb-sr {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px
    }

    .wb .wb-sr .wb-ci {
        width: 100%;
        height: 80px;
        border-radius: 8px 8px 0px 0px;
    }

    .wb .wb-btn {
        font-size: 1rem !important;
    }

    .wb .wb-lb {
        font-size: 14px;
    }

}


@media (max-width: 575.98px) {

    .wb .wb-hd {
        padding: 16px 18px 0
    }

    .wb .wb-bd {
        padding: 16px 18px
    }

    .wb .wb-ft {
        padding: 12px 18px 16px
    }

    .wb .wb-btn {
        width: 100%;
        text-align: center
    }

}