.horizontal-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.scroll-item {
    flex: 0 0 auto;
    width: 250px;
}

.navbar-nav .nav-link {
    white-space: nowrap;
}

.font-white {
    color: #fff;
}

.font-black {
    color: #000;
}

.font-gray {
    color: #808080;
}

.font-gray-light {
    color: #d3d3d3;
}

.font-red {
    color: #ff0000;
}

.font-blue {
    color: #0000ff;
}

.font-green {
    color: #008000;
}

.font-yellow {
    color: #ffff00;
}

.button-blue {
    background-color: #2cb1c0;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.button-blue:hover {
    background-color: #10646d;
}

.btn-langkahkita {
    background-color: #021768 !important;
    color: white !important;
}

.btn-langkahkita:disabled {
    background-color: #021768 !important;
    color: white !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-langkahkita:hover {
    background-color: #0144a5 !important;
    color: white !important;
}

.upcoming-events-header {
    position: relative;
    padding-bottom: 10px;
    color: #000;
}

.upcoming-events-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #000;
    height: 4px;
    background: linear-gradient(to right, #2cb1c0, #e95e5e);
}

.upcoming-events-header-tiket {
    position: relative;
    padding-bottom: 10px;
    color: #000;
}

.upcoming-events-header-tiket::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
    color: #000;
    height: 4px;
    background: linear-gradient(to right, #2cb1c0, #e95e5e);
}

.upcoming-events-header-second {
    position: relative;
    padding-bottom: 10px;
}

.upcoming-events-header-second::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    color: #fff;
}

.popular-events-section {
    background: linear-gradient(to top, #fc6868 0%, #20bcfa 100%);
    padding: 60px 0;
}

.popular-events-header {
    font-size: 2.5rem;
    text-align: center;
    font-weight: bold;
    color: #fff;
}

.event-rank-number {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
}

.event-banner-img {
    object-fit: cover;
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.badge-warning-outline {
    border: 1px solid rgba(220, 53, 69, 0.7);
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 40px;
}

/* payment  */

.payment-option {
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: white;
    transition: all 0.3s;
    width: 80px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.payment-option img {
    max-width: 100%;
    max-height: 100px;
}

.payment-option.active {
    border-color: #2cb1c0;
    background-color: #e6f7ed;
}

.payment-section-title {
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.scrollable-dropdown {
    max-height: 300px;
    overflow-y: auto;
}

.scrollable-dropdown {
    max-height: 300px;
    overflow-y: auto;
    position: absolute;
    z-index: 1050;
    inset: auto 0 auto 0;
    background: white;
}

.popular-card {
    width: 100%;
    max-width: 340px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.events-list::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.events-list {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.ticket-card {
    position: relative;
    background: linear-gradient(90deg, #2cb1c0 0%, #fc6868 100%);
    border-radius: 4px;
    color: white;
    overflow: hidden;
    margin-bottom: 20px;
}

.ticket-content .ticket-description {
    margin: 0;
}

.ticket-content .ticket-time {
    margin: 0;
}

.ticket-card::before {
    left: -15px;
}

.ticket-card::after {
    right: -15px;
}

.ticket-content {
    position: relative;
    padding: 20px;
    z-index: 2;
}

.ticket-content h1,
.ticket-content h2,
.ticket-content h3,
.ticket-content h4,
.ticket-content h5,
.ticket-content h6 .ticket-content span {
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
}

.status-message {
    text-align: right;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: calc(0.35rem + 25%);
    background-color: #f0f0f0;
    width: 100%;
    height: auto;
    color: #3d3d3d;
    padding-right: 0.5rem;
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

.ticket-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    gap: 5px;
    padding-left: 30px;
    flex-wrap: wrap;
    padding-right: 30px;
    padding-bottom: 10px;
    color: inherit;
}

.ticket-controls p {
    color: inherit;
    z-index: 2;
    margin: 0;
}

.ticket-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% - 2%);
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    z-index: 1;
}
.ticket-separator::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% - 2%);
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    z-index: 1;
}

.ticket-qty {
    font-size: 1.1rem;
}

hr {
    border-style: dashed;
    border-color: #ffffff;
}

.ticket-separator {
    position: relative;
    flex-wrap: none;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    margin: 1rem 0;
    z-index: 2;
    width: 100%;
}

.decrease-ticket-qty,
.increase-ticket-qty {
    border: 0;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    width: 30px;
    height: 30px;
}

.tint-bg {
    background: rgb(0, 0, 0, 0.2);
    position: absolute;
    height: 100%;
    width: 100%;
}

.btn-tab {
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 10px 25px;
    color: #000 !important;
    background-color: #208ca5;
    transition: background-color 0.3s ease;
}

.btn-tab:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.btn-tab:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.btn-tab.active {
    color: white;
    border-color: #4a4a4a;
    background-color: #208ca5 !important;
    color: #fff !important;
}

.btn-tab:hover:not(.active) {
    background-color: #f7f7f7;
}

.map-container iframe {
    width: 100%;
    height: 180px;
    border: 0;
    border-radius: 12px;
}

.gradient-text {
    background: linear-gradient(to right, #2cb1c0, #e95e5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .events-list {
        gap: 10px !important;
    }

    .ticket-separator::before {
        content: "";
        position: absolute;
        top: 50%;
        left: calc(100% - 2%);
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-color: white;
        border-radius: 50%;
        z-index: 1;
    }
    .ticket-separator::after {
        content: "";
        position: absolute;
        top: 50%;
        right: calc(100% - 2%);
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-color: white;
        border-radius: 50%;
        z-index: 1;
    }

    .events-list .card {
        min-width: 12rem;
        max-width: 12rem;
    }

    .events-list .card-title {
        font-size: 0.85rem;
    }

    .events-list .card-body {
        padding: 0.5rem;
    }
}

/* ticket responsive */
@media (max-width: 576px) {
    .ticket-card .ticket-name {
        font-size: calc(0.6rem + 25%);
    }

    .ticket-content .ticket-description {
        font-size: calc(0.35rem + 25%);
    }

    .ticket-content .ticket-time {
        font-size: calc(0.35rem + 25%);
    }

    .ticket-controls {
        padding-left: 20px;
    }
    .increase-ticket-qty,
    .decrease-ticket-qty {
        border: 0;
        border-radius: 20px;
        font-size: calc(0.45rem + 25%);
        width: 20px;
        height: 20px;
    }

    .ticket-controls .btn-ticket {
        width: 35%;
        font-size: calc(0.45rem + 25%);
    }
    .ticket-controls a.btn {
        width: 35%;
        font-size: calc(0.45rem + 25%);
    }

    .ticket-separator::before {
        content: "";
        position: absolute;
        top: 50%;
        left: calc(100% - 3%);
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-color: white;
        border-radius: 50%;
        z-index: 1;
    }
    .ticket-separator::after {
        content: "";
        position: absolute;
        top: 50%;
        right: calc(100% - 3%);
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background-color: white;
        border-radius: 50%;
        z-index: 1;
    }

    .info-ticket {
        font-size: calc(0.45rem + 25%);
    }

    .price-text {
        font-size: calc(0.45rem + 25%);
    }

    .event-banner-img {
        height: 200px;
    }

    .ticket-content {
        padding-left: calc(1rem + 1.7vw);
        position: relative;
        padding-top: calc(1rem + -0.5vh);
        padding-bottom: 0;
        z-index: 2;
        padding-right: calc(1rem + 1.7vw);
    }
}
