:root {
    --bs-primary: #E52521;
    /* Merah Mario Bros */
    --bs-secondary: #E52521;
    /* Sekalian kalau mau sama */
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Spinner End ***/

.field-slot-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.field-slot-item-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
}

.green-check {
    filter: brightness(0) saturate(100%) invert(65%) sepia(99%) saturate(408%) hue-rotate(44deg) brightness(95%) contrast(90%);
}

.field-slot-item-selected {
    border: 2px solid var(--bs-success);
    background-color: #f8f9fa;
}

.field-slot-item.slot-booked {
    background-color: rgba(220, 53, 69, 0.1);
    /* merah tipis */
    border: 0.3px solid #dc3545;
    /* merah solid */
    color: #dc3545 !important;
    font-weight: bold;
    pointer-events: none;
    cursor: not-allowed;
    border-radius: 8px;
}

.field-slot-item small {
    display: block;
    min-height: 28px;
    /* semua status tingginya sama */
}

.field-slot-item .text-success {
    font-weight: 600;
    color: #2159E5 !important;
}

.field-slot-item .text-danger {
    font-weight: 600;
}


.field-slot-item.slot-disabled {
    background-color: #f5f5f5;
    color: #aaa !important;
    border: 1px dashed #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.field-slot-item.slot-disabled small {
    color: #aaa !important;
}

/* efek hover & klik aktif untuk slot available */
.field-slot-item:not(.slot-booked):not(.slot-disabled):hover {
  border-color: #288ca7;
  box-shadow: 0 0 6px rgba(0, 115, 255, 0.4);
  transform: scale(1.02);
}

.field-slot-item.slot-selected {
  border: 2px solid #288ca7 !important;
  box-shadow: 0 0 10px rgba(0, 115, 255, 0.4);
  background-color: #eaffea !important;
}

.cart-field-container {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    background: #fff;
}

.cart-field-title {
    font-weight: 600;
    font-size: 16 px;
    color: #5D87FF;
}

.cart-field-slots {
    display: flex;
    flex-direction: column;
    /* biar vertikal */
    gap: 8px;
    /* jarak antar slot */
}

.cart-field-slot {
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}


.cart-field-slot:first-of-type {
    border-top: none;
}

.cart-item-accent {
    width: 4px;
    height: 32px;
    border-radius: 4px;
    background: #555;
    margin-right: 8px;
}

.cart-item-date {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 2px;
}

.cart-item-time {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.cart-item-price {
    font-size: 13px;
    color: #288ca7;
}

.delete-cart-item-btn {
    width: 20px;
    cursor: pointer;
}

.mario-footer {
    position: relative;
    padding: 0px 0 120px;
    /* ruang bawah untuk tanah */
    color: #fff;
    overflow: hidden;
    /* tanah langsung jadi background */
    background: url('/content/assets/img/ground.png') repeat-x bottom;
    background-size: auto 140px;
}

.mario-footer .container,
.mario-footer .row,
.mario-footer .footer-item {
    position: relative;
    z-index: 2;
    /* teks di atas tanah */
}

/* kalau mau Mario ditaruh */
.mario-char {
    position: absolute;
    bottom: 200px;
    /* pas di atas tanah */
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    z-index: 3;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    /*    background: var(--bs-secondary) !important;*/
    background: #fff;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}

/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
}

/* Jaga tinggi navbar tetap sama */
.navbar {
    height: 80px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .navbar-brand img {
    height: auto;
    max-height: 60px;
    /* supaya proporsional */
}

/* Menu collapse turun di bawah header */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        margin-top: 10px;
    }

    .navbar .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar .navbar-nav .nav-link {
        padding: 8px 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}

/*** Navbar End ***/

.dropdown-menu {
    border-radius: 10px;
    padding: 8px 0;
    animation: fadeIn 0.2s ease;
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 8px 16px;
    transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background: #f0f9f0;
    color: #288ca7;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(/content/assets/img/games-img.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative !important;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(/content/assets/img/card-header-games.png) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

@media (min-width: 992px) {

    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {

    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}

/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);

}

/*** featurs End ***/

.shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}

/* Grid 3 kolom */
.time-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

/* Item slot */
.time-filter-item {
    text-align: center;
    font-size: 12px;
    padding: 6px 4px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-filter-item:hover {
    background: #f0f9f4;
    border-color: #288ca7;
}

.time-filter-item.selected {
    background: #5D87FF;
    color: #fff !important;
    font-weight: bold;
}

.calendar-wrapper {
    flex: 1;
    min-width: 0;
    /* penting biar overflow-x jalan */
}

/* Container kalender */
#calendarDays {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto !important;
    /* paksa scroll horizontal */
    overflow-y: hidden;
    scrollbar-width: none;
    /* hilangkan scrollbar firefox */
    scroll-snap-type: x mandatory;
    padding: 6px 0;
}

#calendarDays::-webkit-scrollbar {
    display: none;
    /* hilangkan scrollbar di chrome/safari */
}

/* Kalender slide item */
.field-slide-calendar-item {
    flex: 0 0 auto;
    /* jangan melar */
    min-width: 60px;
    /* ukuran minimal */
    padding: 6px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
}

/* Hover */
.field-slide-calendar-item:hover {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hari (Sab, Min, Sen...) */
.field-slide-calendar-item .small {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
}

/* Angka tanggal */
.field-slide-calendar-item .fw-bold {
    font-size: 0.85rem;
    font-weight: 700;
    color: #212529;
}

/* Item terpilih */
.field-slide-calendar-item-selected {
    background: linear-gradient(135deg, #5D87FF, #0765a3);
    color: #fff;
    border-color: #078ca3 !important;
    box-shadow: 0 3px 8px rgba(8, 80, 196, 0.35);
}

.field-slide-calendar-item-selected .small,
.field-slide-calendar-item-selected .fw-bold {
    color: #fff !important;
}

.room-detail {
    padding-left: 24px !important;
    /* default desktop */
}

/* RESPONSIVE - atur ukuran agar lebih kecil di mobile */
@media (max-width: 768px) {

    /* Judul lebih kecil */
    .room-detail h5,
    .room-detail h6 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    /* Device + Time jadi 1 baris */
    .room-device-time {
        display: flex;
        align-items: center;
        font-size: 0.75rem;
        gap: 8px;
    }

    .room-device-time i {
        margin-right: 4px;
    }

    /* Lokasi & harga font lebih kecil */
    .room-detail .text-muted {
        font-size: 0.75rem;
    }

    .room-detail .text-success {
        font-size: 0.85rem;
        color: #2159E5 !important;
    }

    /* Padding kanan-kiri lebih kecil */
    .room-wrapper {
        padding: 0px !important;
    }

    .field-slide-calendar-item {
        flex: 0 0 auto;
        /* biar ukurannya fix */
        min-width: 70px;
        /* kecilin ukuran item */
        max-width: 80px;
        /* batas maksimal */
        padding: 6px;
        /* kecilin padding */
    }

    .field-slide-calendar-item .small {
        font-size: 0.6rem;
    }

    .field-slide-calendar-item .fw-bold {
        font-size: 0.75rem;
    }

    .venue-pic {
        height: 120px;
        /* lebih kecil di mobile */
        border-radius: 8px;
        /* radius lebih kecil kalau mau */
    }

    /* Tombol prev/next carousel lebih mungil */
    .carousel-control-prev,
    .carousel-control-next {
        width: 12% !important;
        /* area klik kecil */
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px !important;
        height: 16px !important;
        background-size: 100% 100%;
    }

    /* Button "Lihat Jadwal" lebih kecil */
    .field_slot_btn {
        font-size: 13px;
        padding: 6px 12px;
        border-radius: 6px;
    }

    /* Slot jadwal rapih */
    .field-slot-item {
        min-height: 60px;
        font-size: 12px;
        padding: 6px;
    }
}

/* Card Filter */
.card.filter-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card.filter-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Label di filter */
.card.filter-card label {
    font-size: 13px;
    color: #495057;
}

.small-swal {
    border-radius: 1rem !important;
    padding: 1.25rem !important;
    font-size: 0.85rem !important;
}

.small-swal .swal2-title {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
}

.small-swal .swal2-html-container {
    font-size: 0.8rem !important;
}

.small-swal .swal2-actions {
    margin-top: 0.8rem !important;
}


.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    font-size: 0.8rem;
}


/* Dropdown dan input */
.custom-select,
.form-select.custom-select {
    border-radius: 10px;
    border: 1px solid #ced4da;
    padding: 6px 12px;
    transition: border-color 0.2s ease;
}

.custom-select:focus {
    border-color: #5D87FF;
    /* hijau brand */
    box-shadow: 0 0 0 0.2rem rgba(129, 196, 8, 0.25);
}

/* Tombol kalender */
#calendarBtn {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 2px solid #5D87FF;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#calendarBtn i {
    font-size: 18px;
    color: #5D87FF;
}

#calendarBtn:hover {
    background: #5D87FF;
    border-color: #5D87FF;
}

#calendarBtn:hover i {
    color: #fff !important;
}


/* Wrapper */
#field-full-calendar {
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
}

/* Header bulan */
#calendar-month-title {
    font-size: 16px;
    font-weight: bold;
}

/* Grid hari */
#calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* Nama hari (Sen, Sel, dst) */
.calendar-day-header {
    font-weight: 600;
    text-align: center;
    color: #6c757d;
    font-size: 12px;
}

/* Item tanggal */
.field-full-calendar-item {
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover */
.field-full-calendar-item:hover {
    background: #f1f3f5;
}

/* Tanggal hari ini */
.field-full-calendar-item.today {
    border: 2px solid #5D87FF;
    font-weight: bold;
    color: #193187;
}

/* Tanggal terpilih */
.field-full-calendar-item-selected {
    background: #5D87FF;
    color: #fff !important;
    font-weight: bold;
}

/* Weekend */
.field-full-calendar-item.weekend {
    color: #dc3545;
}





/* Datepicker custom */
.custom-date {
    min-width: 180px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.2s;
}

.custom-date:focus {
    border-color: #5D87FF;
    box-shadow: 0 0 0 0.2rem rgba(8, 39, 196, 0.25);
}

/* Select custom */
.custom-select {
    min-width: 160px;
    border-radius: 8px;
    transition: all 0.2s;
}

.custom-select:focus {
    border-color: #5D87FF;
    box-shadow: 0 0 0 0.2rem rgba(8, 39, 196, 0.25);
}

.flatpickr-calendar {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange {
    background: #5D87FF !important;
    border-color: #5D87FF !important;
    color: #fff !important;
}

.flatpickr-day:hover {
    background: rgba(8, 49, 196, 0.2) !important;
    color: #000;
}


/* Label */
.form-label {
    color: #6c757d;
}

/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px;
    height: 130px;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.list-item {
    height: 100%;
    transition: 0.5s;
}

.list-item:hover {
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
    z-index: 2;
}

.card {
    border-radius: 10px;
    overflow: hidden;
    /* biar img ikut radius */
}

.list-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.list-item:hover .list-img img {
    transform: scale(1.2);
}

.list-item .card {
    border: 1px solid #ddd;
    /* default */
    transition: all 0.3s ease;
}

/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}

/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}

/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: inline-block;
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
    background-color: var(--bs-primary)
}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}

/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}

/*** Footer End ***/

.room-avatars img,
.room-avatars .avatar {
    width: 32px;
    height: 32px;
    font-size: .85rem;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.room-card img.room-img {
    display: block !important;
    /* pastikan jadi block */
    width: 100% !important;
    /* isi penuh card */
    height: 160px !important;
    /* fix tinggi */
    object-fit: cover !important;
    /* crop proporsional */
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
}

.room-img {
    display: block;
    width: 100%;
    height: 140px;
    /* <= perkecil tinggi, bisa 120px/140px/160px sesuai selera */
    object-fit: cover;
    /* crop proporsional */
}

/* MOBILE ADAPTATION */
@media (max-width: 768px) {

    .dropdown-menu {
        min-width: 180px;
        font-size: 14px;
    }

    /* Kalender slide */
    #calendarDays {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
    }

    #calendarDays .field-slide-calendar-item {
        flex: 0 0 calc(50% - 6px);
        /* hanya 2 item muat di layar */
        min-width: auto;
    }

    /* Wrapper filter supaya bertumpuk */
    .filter-wrapper {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        margin-top: 12px;
    }

    .filter-wrapper .filter-row {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .filter-row button,
    .filter-row .btn {
        flex: 1;
        font-size: 14px;
        padding: 6px;
    }

     #heroCarouselInner {
        height: 250px;
    }

    .carousel-branch-name {
        font-size: 1rem;
        padding: 6px 16px;
    }

    .venue-pic {
        height: 160px;
    }
}

#carouselId {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

#heroCarouselInner {
    height: 360px;
    /* tinggi tetap */
}

#heroCarouselInner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Nama cabang di tengah vertikal */
.carousel-branch-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.2rem;
    backdrop-filter: blur(2px);
    z-index: 10;
    white-space: nowrap;
}

/* Tombol next/prev sejajar di tengah */
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    opacity: 0.9;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
}


/* Batasi tinggi maksimal gambar field di carousel */
.venue-pic {
    height: 220px;
    /* tinggi tetap */
    width: 100%;
    object-fit: cover;
    /* potong gambar biar proporsional */
    border-radius: 12px;
}

.card-body {
  position: relative;
}

.dropdown-menu.shadow {
  z-index: 9999 !important;
}

#field-time-filter-btn-desktop {
    display: none !important;
}

/* ===== RESET GREEN SHADOW BOOTSTRAP ===== */
*:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* ===== THEME BLUE UNIVERSAL ===== */

/* Input & Select */
.form-control,
.form-select {
    transition: 0.2s ease-in-out;
}

.form-control:hover,
.form-select:hover,
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.25) !important;
}

/* Buttons */
.btn {
    transition: 0.2s ease-in-out;
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: #0d6efd !important;
    border-color: #0b5ed7 !important;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.3) !important;
    color: #fff !important;
}

/* Icons — universal */
i,
button i,
a i {
    transition: 0.2s ease-in-out;
}

i:hover,
button:hover i,
a:hover i {
    color: #0d6efd !important;
    cursor: pointer;
}
