/* custome css */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;0,700;1,300&display=swap");

:root {
    --fontFamily: "Poppins", serif;
    --fontSize: 16px;
    --fontWeight: 500;
    --fontColor: #000;
}

body {
    font-family: var(--fontFamily);
    font-weight: var(--fontWeight);
}

html,
body {
    overflow-y: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

#wrapper-detail p,
h1,
h2,
h3,
h4,
h5,
h6,
label {
    font-family: var(--fontFamily);
    color: var(--fontColor);
}

.container-group {
    overflow-y: scroll;
    height: 100vh;
    position: relative;
    margin-bottom: 20vh;
}

.container-group::-webkit-scrollbar {
    display: none; /* Hides scrollbar in WebKit browsers */
}

.text-harga {
    color: #de0000;
}

.aside-section a {
    color: #383838;
    font-size: 13px;
    font-weight: 900;
}

.group-container {
    /* background-color: #1685b6; */
}

.aside-section h4 {
    font-size: 22px;
    font-weight: 700;
    color: #383838;
}

/* opsi bayar section */
#opsi-bayar-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-opsi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    height: 63px;
    border-radius: 12px;
    border: 1px solid #ababab;
}

/* prioritas section */
.prioritas-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.card-item-prioritas {
    min-height: 120px;
    max-height: 200px;
    border-radius: 10px;
    max-width: 190px;
    margin: auto;
}

.card-item-prioritas i {
    font-size: 1.3rem;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
}

.card-text {
    font-size: 10px;
    font-weight: 500;
    line-height: 15px;
}

/* bonus section */
.bonus-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-content: center;
}

.card-bonus {
    min-height: 165px;
    border-radius: 12px;
    border: 1px solid #ababab;
    box-sizing: border-box;
    margin: auto;
    padding: 12px;
    max-width: 225px;
}

.card-bonus-body {
    display: flex;
    flex-direction: column;
    justify-items: center;
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
}

.card-bonus-body p {
    line-height: 15px;
    margin-bottom: 0px;
    font-size: 12px;
    font-weight: 500;
}

.card-bonus-body h5 {
    line-height: 30px;
    color: #383838;
    font-size: 16px;
}

.card-bonus-body img {
    margin: auto;
}

.text-detail-card-bonus {
    font-size: 12px;
    font-weight: 500;
}

#ulasan-container {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    cursor: grab; /* Cursor changes to grab */
}

#ulasan-container::-webkit-scrollbar {
    display: none; /* Hides scrollbar in WebKit browsers */
}

.item-ulasan {
    flex-shrink: 0;
    flex-basis: 345px;
    /* min-height: 345px; */
}

.aside-section {
    padding: 20px 16px;
}

.no-js .owl-carousel,
.owl-carousel.owl-loaded {
    transition: all 1.5s ease-in-out;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    border-color: transparent;
}

.owl-nav .owl-prev,
.owl-nav .owl-next {
    position: absolute;
    pointer-events: all;
    color: white;
    width: 40px;
    height: 40px;
    font-size: 18px;
    border: none;
}

.owl-nav .owl-prev {
    left: 20px;
}

.owl-nav .owl-next {
    right: 20px;
}

.nama-review {
    font-size: 12px;
    font-weight: 700;
}

/* fasilitas section */
.container-fasilitas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.item-fasilitas {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    height: 38px;
    border-radius: 6px;
    gap: 16px;
    border: 1px solid #ababab;
    align-items: center;
    margin-bottom: 0.25rem !important;
}
/* tempat section */
.tempat-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.item-tempat {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    height: 38px;
    border-radius: 6px;
    gap: 16px;
    border: 1px solid #ababab;
    align-items: center;
    margin-bottom: 0.25rem !important;
}

/* section blok */
#blok-container {
    overflow-y: auto;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#blok-container::-webkit-scrollbar {
    display: none; /* Hides scrollbar in WebKit browsers */
}

.item-blok {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    height: 63px;
    border-radius: 12px;
    border: 1px solid #ababab;
}

.select-blok {
    height: 78px;
    width: 100%;
}

/* jenis pembayaran */
.payment-method {
    display: inline-block;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    padding: 10px;
    text-align: center;
}

.payment-method img {
    width: 80px;
    height: auto;
}

.payment-method input[name="payment"] {
    display: none;
}

.payment-method:has(input[name="payment"]:checked) {
    border: 2px solid #007bff;
    border-radius: 8px;
}

/* jenis bank */
.radio-button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-card {
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 5px;
    /* padding: 10px; */
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease-in-out;
}

.radio-card:hover {
    border-color: #007bff;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card .card-body {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 56px;
    padding: 12px 12px;
}

.radio-card .check-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 23px;
    height: 23px;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.radio-card .check-icon {
    display: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.radio-card img {
    max-width: 90px;
    height: 22px;
}

.radio-card input[type="radio"]:checked + .card-body .check-box {
    border-color: #007bff;
    background-color: #007bff;
}

.radio-card input[type="radio"]:checked + .card-body .check-icon {
    display: inline-block;
}

/* navbar */
.stikcy-nav-container {
    position: relative;
    animation: fadeInDown;
    animation-duration: 1s;
}

.navbar .btn.btn-primary.btn-sm {
    background-color: transparent !important;
    border: none !important;
}

/* submit section */
.sticky-container {
    position: fixed;
    bottom: 0;
    background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0.8));
    border-top: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    width: inherit;
    box-sizing: border-box;
}

/* Sticky content */
.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Price styling */
.price {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* Note styling */
.note {
    font-size: 12px;
    color: #6c757d;
}

/* Button styling */
.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

/* button chat ai */
.chat-ai {
    /* position: fixed; */
    /* z-index: 99999; */
    background-color: #fff;
    border-radius: 20px;
    height: 55px;
    width: 55px;
    justify-content: center;
    align-items: center;
    color: #005991;
    padding: 4px;
    gap: 2px;
    box-sizing: border-box;
}

.chat-ai i {
    font-size: 19px;
    font-weight: 600 !important;
}

.chat-ai p {
    line-height: 8px;
    font-weight: 600 !important;
    font-size: 10px;
}

/* form section */

#form-section {
    margin-bottom: 15vh;
}

/* untuk css map */
#video_tour {
    /* position: absolute; */
    /* top: 0px;
    left: 0px;
    bottom: 0px; */
    width: 100%;
    height: 100vh;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Mencegah klik pada video */
}

#map {
    height: 100vh;
    width: 100%;
}

.vt_view {
    height: 100vh;
    width: 100%;
}

.legend-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
}
.legend.card {
    /* font-family: Arial, sans-serif; */
    font-size: 10px;
    width: 100%;
}

/* chat list */
.dd-arrow-none:after,
.dd-arrow-none:before {
    display: none !important;
}

.w-300 {
    max-width: 300px;
    min-width: 300px;
}

.h-70 {
    height: 70vh;
}

.chatboxes {
    position: fixed;
    padding: 0;
    bottom: 0;
    display: none;
    text-align: center;
    z-index: 1053 !important;
}
.chatboxes.align-center {
    left: 250px;
    right: 0;
    top: auto;
    display: inline-block;
    margin: 0 10px;
}
.chatboxes.align-center .dropdown-toggle.show {
    margin-bottom: 8px;
}
.chatboxes.align-right {
    margin: 0 0 0 auto;
    left: 8px;
}
.chatboxes.align-right > div,
.chatboxes.align-right > .dropmenu {
    /* margin: 10px 0; */
    display: block;
    clear: both;
    text-align: right;
}
.chatboxes.align-right > div .dropdown-toggle,
.chatboxes.align-right > .dropmenu .dropdown-toggle {
    width: auto;
    margin-right: 0;
}
.chatboxes.align-right > div .dropdown-toggle.show,
.chatboxes.align-right > .dropmenu .dropdown-toggle.show {
    margin-right: 15px;
}
.chatboxes.align-right.bottom-0 {
    top: auto;
    display: inline-block;
    margin: 0 5px;
}
/* chat on toggle */
.chatboxes.align-right.bottom-0 .dropdown-toggle.show {
    display: none;
}
.chatboxes.align-right .dropdown-menu-middle {
    top: -150px;
}
.chatboxes.bottom-0 > div,
.chatboxes.bottom-0 > .dropmenu {
    display: inline-block;
    vertical-align: bottom;
}
.chatboxes.bottom-0 > div .dropdown-toggle,
.chatboxes.bottom-0 > .dropmenu .dropdown-toggle {
    margin-right: auto !important;
}
.chatboxes .dropdown-toggle {
    display: block;
    position: relative;
    border-radius: 50%;
    border: 2px solid transparent;
    z-index: 1;
}
.chatboxes .dropdown-toggle.show {
    border: 2px solid #ffffff;
}
.chatboxes > div,
.chatboxes > .dropmenu {
    position: relative;
}
.chatboxes > div .chat-close,
.chatboxes > .dropmenu .chat-close {
    height: 20px;
    width: 20px;
    border-radius: 20px;
    line-height: 17px;
    font-size: 14px;
    border: 0;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 0;
}
.chatboxes > div .dropdown-menu.show + .chat-close,
.chatboxes > .dropmenu .dropdown-menu.show + .chat-close {
    opacity: 1;
    top: 100%;
    margin-top: -10px;
}
.chatboxes.align-right:not(.bottom-0) > div .chat-close,
.chatboxes.align-right:not(.bottom-0) > .dropmenu .chat-close {
    left: 100%;
    margin-left: -10px;
    margin-top: -10px;
    top: 50%;
}
.chatboxes.align-right:not(.bottom-0) > div .dropdown-menu.show + .chat-close,
.chatboxes.align-right:not(.bottom-0)
    > .dropmenu
    .dropdown-menu.show
    + .chat-close {
    opacity: 1;
}
.rightbar-open .chatboxes.align-right {
    right: calc(310px + 30px);
}
.chat-list {
    margin: 0px 4px 0px 4px;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.05) !important;
}
.chat-list .figure,
.chat-list figure,
.chat-list iframe,
.chat-list video {
    border-radius: 0.25rem;
    overflow: hidden;
    display: block;
    max-width: 100%;
}
.chat-list .left-chat {
    margin-bottom: 15px;
}
.chat-list .left-chat .chat-block {
    background-color: #f4f4f4;
    color: #000000;
    padding: 12px;
    border-radius: 0.25rem 0.25rem 0.25rem 0px;
    margin-right: 3px;
    position: relative;
    width: auto;
    display: inline-block;
    margin-bottom: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 90%;
}
.chat-list .left-chat .chat-block:before {
    content: "";
    position: absolute;
    left: 0px;
    bottom: -16px;
    height: 8px;
    width: 8px;
    border-radius: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 10px;
    z-index: 1;
    border-top-color: #f4f4f4;
    border-left-color: #f4f4f4;
}
.chat-list .left-chat .time {
    padding-left: 15px;
}
.chat-list .right-chat {
    margin-bottom: 15px;
    text-align: right;
}
.chat-list .right-chat .chat-block {
    text-align: left;
    background-color: #f4f4f4;
    color: #111111;
    padding: 15px;
    border-radius: 0.25rem 0.25rem 0px 0.25rem;
    margin-left: 3px;
    position: relative;
    width: auto;
    display: inline-block;
    margin-bottom: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 90%;
}
.chat-list .right-chat .chat-block:before {
    content: "";
    position: absolute;
    right: 0px;
    bottom: -16px;
    height: 8px;
    width: 8px;
    border-radius: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 10px;
    border-right-color: #ffffff;
    border-top-color: #ffffff;
    z-index: 0;
}
.chat-list .right-chat .chat-block.opsi {
    text-align: left;
    background-color: #f4f4f4;
    color: #111111;
    padding: 2px 4px;
    border-radius: 0.25rem 0.25rem 0px 0.25rem;
    border: 1px solid #a8a8a8;
    margin-left: 3px;
    position: relative;
    width: auto;
    display: inline-block;
    margin-bottom: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 90%;
}
.chat-list .right-chat .chat-block.opsi::before {
    content: "";
    border: none;
}
.chat-list .right-chat .time {
    padding-right: 15px;
}
.chat-list.chat-list-squared .figure,
.chat-list.chat-list-squared figure,
.chat-list.chat-list-squared iframe,
.chat-list.chat-list-squared video {
    border-radius: 0px;
}
.chat-list.chat-list-squared .left-chat .chat-block,
.chat-list.chat-list-squared .right-chat .chat-block {
    border-radius: 0px;
}
.chat-list.bg-none {
    background-color: transparent !important;
}

.option-categori,
.option-sub-categori,
.option-chat,
.option-session-chat {
    cursor: pointer;
}

#chat-list::-webkit-scrollbar {
    width: 6px;
}

#chat-list::-webkit-scrollbar-track {
    box-shadow: inset 0 0px 2px 0px rgba(0, 0, 0, 0.15);
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

#chat-list::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
    animation: fadeInUp;
}

/* modal lokasi selengkapnya */
#modalSectionMap {
    min-height: 400px;
}

#map_lokasi {
    height: 100%;
    position: absolute;
    inset: 0;
}
#modalSectionDetail {
    min-height: 400px;
}

/* responsive breakpoints */

/* desktop */
@media (min-width: 992px) {
    .owl-carousel .owl-item img {
        height: 100vh;
        width: 100%;
        object-fit: fill;
    }

    /* button chat ai */
    .chat-ai {
        left: 20px;
        bottom: 20px;
    }
}

/* mobile */
@media (min-width: 320px) and (max-width: 767px) {
    .owl-carousel .owl-item img {
        height: 30vh;
    }

    *:not(svg):not(svg *) {
        font-size: var(--fontSize);
    }

    /* form section */
    #form-section {
        margin-bottom: 20vh !important;
    }

    /* bonus section */
    .bonus-container {
        grid-template-columns: minmax(0, 60vw);
        justify-content: center;
        gap: 12px;
    }

    .sticky-container {
        position: fixed; /* Ensure it sticks to the bottom on mobile */
        bottom: 0;
        width: 100%; /* Take full width on mobile */
        padding: 4px 20px 4px 20px;
        border-radius: 20px 20px 0px 0px; /* Remove rounded corners for mobile */
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow */
        font-size: 12px;
    }

    .price {
        font-size: 20px; /* Adjust font size for smaller screens */
    }

    .note {
        font-size: 8px;
    }

    .btn-primary {
        padding: 10px 15px; /* Further adjust padding */
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    .section-form {
        margin-bottom: 300px;
    }

    .select-blok {
        height: 30px;
        width: 100%;
    }

    /* button chat ai */
    .chat-ai {
        left: 10px;
        top: 10px;
        width: 60px;
        height: 50px;
    }

    .chat-ai p {
        font-size: 10px;
    }

    .chat-ai i {
        font-size: 20px;
    }

    #video_tour {
        position: relative;
        width: 100%;
        height: 30vh !important;
    }

    video {
        position: absolute;
        inset: 0;
        object-fit: cover;
        pointer-events: none;
    }

    .vt_view {
        height: 30vh !important;
    }

    #map {
        height: 30vh !important;
    }

    .stikcy-nav-container {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
    }

    .navbar .btn.btn-primary.btn-sm {
        font-size: 10px;
        padding: 4px;
    }

    .legend-box {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 3px;
    }
    .legend.card {
        /* font-family: Arial, sans-serif; */
        font-size: 6px;
        width: 100%;
    }
    .item_legends {
        font-size: 10px;
    }
    .legend-content small {
        font-size: 10px;
    }

    /* nira ai */

    .dropup:has(.show) {
        bottom: 10vh; /* Dropdown naik ke posisi 10vh dari bawah */
    }

    .chatboxes.align-right.bottom-0 {
        top: 55px;
        bottom: 4px !important;
    }

    .dropdown-menu {
        transform: translate3d(0, 0, 0) !important; /* Reset transform */
        top: 100% !important; /* Tampilkan ke bawah */
        left: 0 !important; /* Tampilkan ke kanan bawah */
        z-index: 999999;
        height: 90vh;
    }

    /* modal lokasi selengkapnya */
    #modalSectionMap {
        min-height: 200px;
    }
    #modalSectionDetail {
        min-height: auto !important;
    }
    #map_lokasi {
        height: 200px;
    }

    #video_presentation {
        height: 250px;
    }
    /* potongan harga */
    #btn-potongan {
        font-size: 10px !important;
        padding: 5px 10px !important;
    }

    #okButton {
        font-size: 10px !important;
        padding: 5px 10px !important;
    }
}
