:root {
    --color-success: 15, 153, 24;
    --color-primary-gradient: linear-gradient(0deg, rgba(227, 17, 17, 1) 0%, rgba(248, 94, 94, 1) 100%);
    --color-secondary-gradient: linear-gradient(147.74deg, #F8902E -0.9%, #CF130F 98.8%);
    --color-vote-secondary-gradient: linear-gradient(147.74deg, #F8902E -0.9%, #CF130F 98.8%);
    --color-vote-gradient: linear-gradient(90deg, #6C0301 0%, #D70D04 33%, #D70D04 66.14%, #640607 99.5%);
    --color-vote-gradient: linear-gradient(90deg, #6C0301 0%, #D70D04 33%, #D70D04 66.14%, #640607 99.5%);
    --color-primary: 235, 46, 46;
    --color-orange: 253, 151, 48;
    --color-accent: 255, 232, 232;
    --color-purple: 117, 52, 255;
    --color-blue: 11, 99, 229;
    --color-secondary: 255, 215, 108;
    --color-warning: 255, 136, 0;
    --color-danger: 229, 69, 69;
    --color-border: 255, 170, 0;
    color: #1B1C1E;
    overscroll-behavior: none;
}

body {
    overscroll-behavior: none;
}

/*  TEXT CUSTOM */
.text-custom.text-primary {
    color: rgba(var(--color-primary), 1.0) !important;
}

.text-custom.text-secondary {
    color: rgba(var(--color-secondary), 1.0) !important;
}

.text-custom.text-danger {
    color: rgba(var(--color-danger), 1.0) !important;
}

.text-custom.text-warning {
    color: rgba(var(--color-warning), 1.0) !important;
}

.text-custom.text-success {
    color: rgba(var(--color-success), 1.0) !important;
}

.text-custom.text-purple {
    color: rgba(var(--color-purple), 1.0) !important;
}

.text-custom.text-blue {
    color: rgba(var(--color-blue), 1.0) !important;
}

.text-custom.text-orange {
    color: rgba(var(--color-orange), 1.0) !important;
}

.text-custom.text-accent {
    color: rgba(var(--color-accent), 1.0) !important;
}

/*  END TEXT CUSTOM */
.no-select {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* ALERT CUSTOM */
.alert-custom {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: flex;
    gap: 0.5rem;
    cursor: default;
    align-items: center;
    width: 100%;
}

.alert-custom.alert-success {
    color: rgba(var(--color-success), 1.0);
    background-color: #E7F5E8;
}

.alert-custom.alert-warning {
    color: rgba(var(--color-warning), 1.0);
    background-color: #FFF3E6;
}

.alert-custom.alert-danger {
    color: rgba(var(--color-danger), 1.0);
    background-color: #FCECEC;
}

.alert-custom.alert-primary {
    color: rgba(var(--color-primary), 1.0);
    background-color: #FDEEEE;
}

.alert-custom.alert-purple {
    color: rgba(var(--color-purple), 1.0);
    background-color: #F1EBFF;
}

.alert-custom.alert-blue {
    color: rgba(var(--color-blue), 1.0);
    background-color: #F0F5FF;
    border: 1px solid rgba(var(--color-blue), 1.0);
}

/* END BADGE CUSTOM */

/* BADGE CUSTOM */
.badge-custom {
    padding: 0.4375em 0.875em;
    border-radius: 116px;
    font-size: 0.7em;
    display: inline-flex;
    font-weight: 500;
    gap: 0.5em;
    cursor: default;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: fit-content;
    text-align: center;
}

.badge-custom.badge-success {
    color: rgba(var(--color-success), 1.0);
    background-color: rgba(var(--color-success), 0.1);
}

.badge-custom.badge-warning {
    color: rgba(var(--color-warning), 1.0);
    background-color: rgba(var(--color-warning), 0.1);
}

.badge-custom.badge-danger {
    color: rgba(var(--color-danger), 1.0);
    background-color: rgba(var(--color-danger), 0.1);
}

.badge-custom.badge-primary {
    color: rgba(var(--color-primary), 1.0);
    background-color: rgba(var(--color-primary), 0.1);
}

.badge-custom.badge-purple {
    color: rgba(var(--color-purple), 1.0);
    background-color: rgba(var(--color-purple), 0.1);
}

.badge-custom.badge-blue {
    color: rgba(var(--color-blue), 1.0);
    background-color: rgba(var(--color-blue), 0.1);
}

/* END BADGE CUSTOM */

/* CARD CUSTOM */
.card-custom {
    display: flex;
    flex-direction: column;
    position: relative;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    box-shadow: 0 4px 8px rgba(30, 44, 106, 0.1);
    border-radius: 20px;
    padding: 36px 40px;
}

/* END CARD CUSTOM */

/* TIKET CUSTOM */
.tiket {
    border-radius: 24px;
    padding: 28px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 16px 40px rgba(144, 112, 112, 0.2);
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tiket.disabled {
    pointer-events: none;
}

.tiket.disabled .overlay-tiket {
    border-radius: 24px;
    inset: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
}

/* END TIKET */

/* BUTTON CUSTOM */
.btn-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
    outline: none;
    text-decoration: none !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-appearance: button;
    appearance: button;
    text-transform: none;
}

.btn-custom.btn-block {
    width: 100%;
}

.btn-custom.btn-primary {
    background: rgb(227, 17, 17);
    background: var(--color-primary-gradient);
    color: #fff;
}

.btn-custom.btn-danger {
    background: rgba(var(--color-accent), 1.0);
    color: rgba(var(--color-primary), 1.0);
}

.btn-custom.btn-accent {
    background: rgba(var(--color-accent), 1.0);
    color: rgba(var(--color-primary), 1.0);
}

.btn-custom.btn-outline {
    background-color: #FFF;
    color: #344054;
    border: 1px solid #D0D5DD;
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.btn-custom.btn-outline-primary {
    background-color: #FFF;
    color: rgba(var(--color-primary), 1.0);
    border: 1px solid rgba(var(--color-primary), 1.0);
    position: relative;
    z-index: 1;
}

/* .btn-custom.btn-outline-primary:hover {
    color: #FFF;
} */

/* .btn-custom.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    background-image: var(--color-primary-gradient);
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}

.btn-custom.btn-outline-primary:hover::before {
    opacity: 1;
} */

.btn-custom:active,
.btn-custom:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.btn-custom.btn-qty {
    border-radius: 999px;
    padding: 0;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 2.5rem;
    box-shadow: none;
}

.btn-custom:disabled,
.btn-custom.disabled {
    opacity: .65;
    pointer-events: none;
}

.btn-custom:not(.btn-outline-primary):active,
.btn-custom:not(.btn-outline-primary):focus {
    border: none;
    outline: none;
}

/* END BUTTON CUSTOM */

/* FORM QTY */
.form-qty {
    border: none;
    width: 16px;
    white-space: nowrap;
    padding: 0 !important;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
}

.form-qty:active,
.form-qty:focus {
    border: none;
    outline: none;
}

.form-qty:read-only,
.form-qty:disabled {
    cursor: default;
}

/* END FORM QTY */

/* PROGRESS BAR CUSTOM */
.progress-bar {
    height: 1rem;
    border-radius: 9999px;
    position: relative;
    background-color: #E0E0E0;
}

.progress {
    border-radius: 9999px;
    height: 100%;
    -webkit-mask: linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0);
}

.progress::before {
    content: "";
    position: absolute;
    inset: 0;
}

.progress.progress-primary::before {
    background-image: var(--color-primary-gradient);
}

/* END PROGRESS BAR CUSTOM */

/* LOADING SCREEN CUSTOM */
.ls-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    z-index: 9999;
    inset: 0;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

.ls-container.active {
    pointer-events: auto;
    opacity: 1;
}

.ls-container>.ls-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ls-container>.ls-item>.ls-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: rgba(var(--color-primary), 1);
    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);
    }
}

.ls-container>.ls-item>.ls-title {
    font-size: 2rem;
    font-weight: bold;
}

.ls-container>.ls-item>.ls-text {
    font-size: 1.3rem;
    font-weight: 500;
}

/* END LOADING SCREEN CUSTOM */

.text-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* MODAL CUSTOM */
.modal-header-custom {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    color: #fff;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
    background: var(--color-primary-gradient);
}

.modal-header-custom .close {
    color: #fff;
}

.modal-title {
    color: #FFF;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    /* 155.556% */
}

/* END MODAL CUSTOM */

/* CUSTOM CHECKBOX */

.label {
    font-weight: 500;
    margin-bottom: .5rem;
}

.checkbox-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
}

.checkbox-custom~label,
.radio-custom~label {
    cursor: pointer;
}

.checkbox-custom:focus {
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

.radio-custom:focus {
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
}

input[type="checkbox"]:checked~.checkbox-custom {
    background: var(--color-primary-gradient);
    border: none;
}

input[type="checkbox"]:checked~.checkbox-custom::after {
    content: "\2713";
    border: none;
    font-size: 16px;
    color: white;
    text-align: center;
    line-height: 20px;
}

.form-check-custom input[type="checkbox"],
.form-check-custom input[type="radio"] {
    max-width: 0;
}

.form-check-custom {
    display: flex;
    gap: 8px;
    margin-left: -8px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-check-container-custom {
    display: flex;
    flex-direction: column;
    /* gap: 12px; */
    gap: 24px;
}

/*  END CUSTOM CHECKBOX */

/* CUSTOM RADIO */
.radio-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
    /* Untuk bentuk bulat */
}

input[type="radio"]:checked~.radio-custom {
    background-color: #fff;
    border: 2px solid rgba(var(--color-primary), 1);
}

input[type="radio"]:checked~.radio-custom::after {
    content: "";
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10px;
    /* Ukuran bulatan di dalam radio */
    height: 10px;
    /* Ukuran bulatan di dalam radio */
    border-radius: 50%;
    background: var(--color-primary-gradient);
    /* Warna bulatan yang ditengah */
}

input[type="radio"]:disabled~.radio-custom,
input[type="checkbox"]:disabled~.checkbox-custom,
input[type="radio"]:disabled~.radio-custom~*,
input[type="checkbox"]:disabled~.checkbox-custom~* {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}


/* END CUSTOM RADIO */

/* CARD PAYMENT */
.card-pg {
    transition: box-shadow 0.3s;
    border: 2px solid #e4e7ec;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    font-size: 16px;
    position: relative;
    gap: 8px;
    /* height: 88px; */
    padding-right: 35px;
}

.card-pg.card-active:hover {
    box-shadow: 2px 9px 71px -14px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 2px 9px 71px -14px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 2px 9px 71px -14px rgba(0, 0, 0, 0.5);

}

/* END CARD PAYMENT */

/* CUSTOM LINK */
.link-custom {
    color: black;
}

.link-custom.link-white {
    background: #fff;
    ;
}


.link-custom.link-white:hover,
.category.active {
    color: white;
    text-decoration: none;
    background: var(--color-primary-gradient);
}

.link-custom:hover {
    color: rgba(var(--color-primary), 1);
    text-decoration: none;
}

.text-primary-custom {
    color: rgba(var(--color-primary), 1);
}

.text-primary-custom:hover {
    color: rgba(var(--color-primary), 1);
}

.transform-180 {
    transform: rotate(180deg);
}

/* END CUSTOM LINK */

/* BS 5 CUSTOM */

/* Mengatur gutter untuk row (atas, bawah, kiri, kanan) */
.g-0 {
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.g-0>.col,
.g-0>[class^="col-"] {
    padding-right: 0;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.g-1 {
    margin-right: -0.25rem;
    margin-left: -0.25rem;
    margin-top: -0.25rem;
    margin-bottom: -0.25rem;
}

.g-1>.col,
.g-1>[class^="col-"] {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.g-2 {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
}

.g-2>.col,
.g-2>[class^="col-"] {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.g-3 {
    margin-right: -0.75rem;
    margin-left: -0.75rem;
    margin-top: -0.75rem;
    margin-bottom: -0.75rem;
}

.g-3>.col,
.g-3>[class^="col-"] {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.g-4 {
    margin-right: -1rem;
    margin-left: -1rem;
    margin-top: -1rem;
    margin-bottom: -1rem;
}

.g-4>.col,
.g-4>[class^="col-"] {
    padding-right: 1rem;
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.g-5 {
    margin-right: -1.25rem;
    margin-left: -1.25rem;
    margin-top: -1.25rem;
    margin-bottom: -1.25rem;
}

.g-5>.col,
.g-5>[class^="col-"] {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}


/* Gutter Horizontal */
.gx-0>.col,
.gx-0>[class^="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.gx-1>.col,
.gx-1>[class^="col-"] {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
}

.gx-2>.col,
.gx-2>[class^="col-"] {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.gx-3>.col,
.gx-3>[class^="col-"] {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.gx-4>.col,
.gx-4>[class^="col-"] {
    padding-right: 1rem;
    padding-left: 1rem;
}

.gx-5>.col,
.gx-5>[class^="col-"] {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

/* Gutter Vertikal */
.gy-0>.col,
.gy-0>[class^="col-"] {
    padding-top: 0;
    padding-bottom: 0;
}

.gy-1>.col,
.gy-1>[class^="col-"] {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.gy-2>.col,
.gy-2>[class^="col-"] {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.gy-3>.col,
.gy-3>[class^="col-"] {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.gy-4>.col,
.gy-4>[class^="col-"] {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.gy-5>.col,
.gy-5>[class^="col-"] {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* END BS 5 CUSTOM */

.paypal-button-label-container-custom {
    display: none !important;
}

.paypal-button-custom {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    cursor: pointer !important;
    gap: 8px !important;
    padding: 10px !important;
    border-radius: 10px !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-appearance: button !important;
    appearance: button !important;
    text-transform: none !important;
    background: rgb(227, 17, 17) !important;
    background: var(--color-primary-gradient) !important;
    color: #fff !important;
}

/* Timer */
#timer {
    background-color: rgba(var(--color-accent), 1);
    border-radius: 10px;
    padding: 8px 0;
}

#timer .well {
    margin: 0 auto;
    padding: 0 20px;
}

#timer .countdown-wrapper {
    margin: 0 auto;
}

#timer #countdown {
    text-align: center;
    color: #000;
}

#timer .countdown-wrapper #countdown .timer {
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
}

.tag-live {
    background: var(--color-vote-gradient);
    color: white;
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 700;
    border: 3px solid rgb(var(--color-border));
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    text-align: center;
    border-radius: 30px;
}

.tabs {
    border-bottom: 1px solid #F2F4F7;
}

.tabs .tab-headers .tab-header {
    cursor: pointer;
    position: relative;
}

.tabs .tab-headers .tab-header.active {
    color: #FF0000;
    font-weight: 600;
}

.tabs .tab-headers .tab-header.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background-color: #FF0000;
    position: absolute;
    bottom: -1px;
    left: 0;
}

.tabs .tab-contents {
    margin-top: 16px;
}

.tabs .tab-contents>* {
    display: none;
}

.tabs .tab-contents>*.active {
    display: block;
}