﻿/* ===== Banner =====  */
.bannerMainLayout {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    margin-bottom: 200px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.banner_monster01 {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.banner_object01 {
    width: 100%;

    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
}

.banner_characterMain {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;

    width: 650px;
}

.banner_footerObject {
    position: absolute;
    z-index: 4;
    bottom: -250px;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
}

.bannerContentMainLayout {
    position: relative;
    z-index: 5;

    width: 100%;
    padding: 20px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bannerContent_title {
    text-shadow:
        5px 5px 0 #11193b,
        -5px 5px 0 #11193b,
        5px -5px 0 #11193b,
        -5px -5px 0 #11193b,
        5px 0 0 #11193b,
        -5px 0 0 #11193b,
        0 5px 0 #11193b,
        0 -5px 0 #11193b;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: "ZFTERMIN_", sans-serif;
    font-size: 50px;
    line-height: 50px;
}

.bannerContent_countLayout {
    background: linear-gradient(180deg, rgba(16, 15, 44, 1) 0%, rgba(27, 33, 78, 1) 100%);
    border: 2px solid #e7f166;

    border-radius: 10px;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 120px;
    font-size: 80px;
    line-height: 50px;
    font-family: "ZFTERMIN_", sans-serif;
}

.bannerContent_countLayout span {
    padding-bottom: 15px;
}

.bannerContent_btnTitle {
    color: #fff;
    text-shadow:
        3px 3px 0 #633f13,
        -3px 3px 0 #633f13,
        3px -3px 0 #633f13,
        -3px -3px 0 #633f13,
        3px 0 0 #633f13,
        -3px 0 0 #633f13,
        0 3px 0 #633f13,
        0 -3px 0 #633f13;
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 800;
    line-height: 30px;
    font-family: "PSL345pro", sans-serif;
    letter-spacing: 2px;
}

.bannerContent_arrow {
    width: 50px;
    padding-top: 20px;
}


/* ==== Preregister ====  */
.preregisterMainLayout {
    width: 100%;
    max-width: 1600px;
    min-height: 100dvh;
    margin: 0 auto;
    /* padding: 100px 50px; */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preregisterMainLayoutContent {
    display: flex;
    flex-direction: column;
}

.preregister_progressMainLayout {
    position: relative;
    width: 100%;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pr_progressObjectMain {
    width: 100%;
    height: 10px;
    background: #fff;
    border-radius: 50px;

    display: flex;
    align-items: center;
}

.pr_progressObject2 {
    position: relative;
    width: 125px;
    height: 100%;

    background: #fff;
    border-radius: 50px;
}

.pr_progressObject3 {
    position: relative;
    width: 240px;
    height: 100%;

    background: #fff;
    border-radius: 50px;
}

.diamond {
    position: absolute;
    top: -5px;
    right: 0;
    width: 22px;
    height: 22px;
    background: #fff;
    transform: rotate(45deg);
    z-index: 2;
    flex-shrink: 0;
    transition: background 0.3s;
}

.pr_progressObject2.active,
.pr_progressObject2.active .diamond,
.pr_progressObject3.active,
.pr_progressObject3.active .diamond {
    background: #f2de74;
}

.pr_progressObjectMain:has(.pr_progressObject3:last-child.active) {
    background: #f2de74;
}



.preregister_progressCardMainLayout {
    width: 100%;
    max-width: 1200px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.pr_cardMainLayout {
    position: relative;
    width: 230px;
    min-width: 230px;
    height: 450px;
    border-radius: 20px;
    padding: 0px;

    background: url('../images/background/progress_card.png');
    background-position: center;
    background-size: cover;
    border: 3px solid #fff;
    box-shadow: 2px 2px 5px #000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.pr_cardMainLayout.active {
    background: url('../images/background/progress_card_active.png');
    background-position: center;
    background-size: cover;
    border: 3px solid #f6f867;
}

.pr_cardCountPoint {
    width: 150px;
    height: 50px;
    border-radius: 50px;
    padding: 10px;

    background: #303030;
    box-shadow: inset 0px 0px 15px 2px #000;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 25px;
    line-height: 25px;
    font-weight: 600;
}

.pr_cardRewardLayout {
    width: 170px;
    height: 170px;
    padding: 10px;
    border-radius: 50%;

    background: #fff;
    border: 3px solid #b4b2af;

    display: flex;
    align-items: center;
    justify-content: center;
}

.pr_cardRewardLayout img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pr_cardFooterLayout {
    background: #a2a2a2b0;
    width: 100%;
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000;
}

.pr_cardMainLayout.active .pr_cardFooterLayout {
    background: #84bf5cb7;
}

.preregister_titleBtn {
    color: #fff;
    text-shadow:
        3px 3px 0 #633f13,
        -3px 3px 0 #633f13,
        3px -3px 0 #633f13,
        -3px -3px 0 #633f13,
        3px 0 0 #633f13,
        -3px 0 0 #633f13,
        0 3px 0 #633f13,
        0 -3px 0 #633f13;
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 800;
    line-height: 30px;
    font-family: "PSL345pro", sans-serif;
    letter-spacing: 2px;
}

.pr_storeLayout {
    min-width: 270px;
    width: 270px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #000;
    padding: 10px;
    border-radius: 15px;
    border: 2px solid #a6a4a4;
    box-shadow: 1px 1px 10px #00000061;

    transition: all .5s;
}

.pr_storeLayout:hover {
    box-shadow: 0px 0px 8px 3px #ffffff38;
}

.store_logo {
    width: 40px;
    min-width: 40px;
}

.pr_storeLayout h6 {
    line-height: 20px;
    font-size: 25px;

    color: #fff;
}

.pr_storeLayout h4 {
    line-height: 28px;
    font-size: 32px;
    font-weight: 400;
    color: #fff;
}

/* ==== Event ====  */
.eventMainLayout {
    width: 100%;
    max-width: 1600px;
    min-height: 100dvh;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.eventSocialMainLayout {
    width: fit-content;
    height: 580px;
    padding: 10px;
    border-radius: 20px;

    background: #fbe886;
}

.eventSocialLayout {
    width: 100%;
    height: 100%;
    padding: 20px 25px;
    border-radius: 20px;

    border: 3px solid #bfa26b;
    background: #fffaf0;
    color: #323232;
}

.eventSocial_cardLayout {
    width: 220px;
    height: 415px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.eventSocial_cardContent {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    border: 0px solid transparent;
}

.eventSocial_cardContent>div h6 {
    text-align: start;
}

.eventSocial_cardContent.facebook {
    background: #d3e6ed;
}

.eventSocial_cardContent.discord {
    background: #ebdaff;
}

.eventSocial_cardContent.line {
    background: #dceebe;
}

.eventSocial_logo {
    width: 40px;
    min-width: 40px;
}

.eventSocialHr {
    width: 100%;
    height: 3px;
    border-radius: 50px;
    margin: 15px 0;

    background: #bbd8ef;
}

.eventSocial_cardContent.discord .eventSocialHr {
    background: #dec3ff;
}

.eventSocial_cardContent.line .eventSocialHr {
    background: #c5e8a5;
}

.eventSocial_imgLayout {
    width: 140px;
    height: 140px;
    padding: 10px;
    border-radius: 50%;

    background: #fff;
    border: 3px solid #cbb168;

    display: flex;
    align-items: center;
    justify-content: center;
}

.eventSocial_imgLayout img {
    width: 100px;
    object-fit: contain;
}

.btn.social {
    width: 175px;
    min-width: 175px;
    height: 68px;
    min-height: 68px;

    transition: all .5s;
}

.btn.social span {
    color: #fff;
    font-size: 35px;
    font-weight: 800;
    line-height: 30px;
    font-family: "PSL345pro", sans-serif;
}

.btn.facebook {
    background: url("../images/button/facebook.png");
    background-position: center;
    background-size: cover;
}

.btn.facebook:hover {
    filter: drop-shadow(1px 1px 5px #0049d1);
}

.btn.facebook span {
    text-shadow:
        2px 2px 0 #002c80,
        -2px 2px 0 #002c80,
        2px -2px 0 #002c80,
        -2px -2px 0 #002c80,
        2px 0 0 #002c80,
        -2px 0 0 #002c80,
        0 2px 0 #002c80,
        0 -2px 0 #002c80;
}


.btn.discord {
    background: url("../images/button/discord.png");
    background-position: center;
    background-size: cover;
}

.btn.discord:hover {
    filter: drop-shadow(1px 1px 5px #843be2);
}

.btn.discord span {
    text-shadow:
        2px 2px 0 #511d97,
        -2px 2px 0 #511d97,
        2px -2px 0 #511d97,
        -2px -2px 0 #511d97,
        2px 0 0 #511d97,
        -2px 0 0 #511d97,
        0 2px 0 #511d97,
        0 -2px 0 #511d97;
}

.btn.line {
    background: url("../images/button/line_qa.png");
    background-position: center;
    background-size: cover;
}

.btn.line:hover {
    filter: drop-shadow(1px 1px 5px #53cc3b);
}

.btn.line span {
    text-shadow:
        2px 2px 0 #215f15,
        -2px 2px 0 #215f15,
        2px -2px 0 #215f15,
        -2px -2px 0 #215f15,
        2px 0 0 #215f15,
        -2px 0 0 #215f15,
        0 2px 0 #215f15,
        0 -2px 0 #215f15;
}

/* event Friends  */
.eventIF_cardLayout {
    position: relative;
    width: 160px;
    min-width: 160px;
    height: 325px;
    border-radius: 20px;

    background: #f9f2c8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 0px solid transparent;
}

.eventIF_cardCount {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 22px;
    font-weight: 600;
    color: #997f2b;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    background: url("../images/icon/object01.png");
    background-position: center;
    background-size: cover;
}

.eventIF_cardContent {
    width: 100%;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.eventIF_cardContent p,
.eventSocial_cardContent p {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}

.eventIF_cardFooter {
    position: absolute;
    bottom: 0;
    left: 0;

    color: #282828;
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
    text-align: center;

    width: 100%;
    height: 50px;
    background: #f2e597;
    border-radius: 0px 0px 20px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.eventIF_imgLayout {
    width: 120px;
    height: 120px;
    padding: 10px;
    border-radius: 50%;

    background: #fff;
    border: 3px solid #cbb168;

    display: flex;
    align-items: center;
    justify-content: center;
}

.eventIF_imgLayout img {
    width: 80px;
    object-fit: contain;
}

.btn.invite_friend {
    width: 345px;
    height: 70px;
    padding: 10px;
    margin-top: 20px;

    background: url("../images/button/Invite_friends.png");
    background-position: center;
    background-size: cover;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all .5s;
}

.btn.invite_friend:hover {
    filter: drop-shadow(1px 1px 5px #a9670f);
}

.btn.invite_friend span {
    text-shadow:
        2px 2px 0 #a9670f,
        -2px 2px 0 #a9670f,
        2px -2px 0 #a9670f,
        -2px -2px 0 #a9670f,
        2px 0 0 #a9670f,
        -2px 0 0 #a9670f,
        0 2px 0 #a9670f,
        0 -2px 0 #a9670f;

    color: #fff;
    font-size: 45px;
    font-weight: 800;
    line-height: 30px;
    font-family: "PSL345pro", sans-serif;
}

.eventIFModal_cardLayout {
    position: relative;
    width: 200px;
    min-width: 200px;
    height: 250px;
    border-radius: 20px;
    padding: 10px;

    /* background: #f9f2c8; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 0px solid transparent;
}

.eventIFModal_cardImg {
    width: 120px;
}

.eventIFModal_cardLayout p {
    line-height: 18px;
}

.truncate-2lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: 100%;
    line-height: 1.3em;
    height: calc(1.3em * 2);
    min-width: 0;
}

/* ==== Event ====  */
.acrossMainLayout {
    width: 100%;
    /* max-width: 1600px; */
    min-height: 100dvh;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.acrossContentMainLayout {
    width: 100%;
    min-height: 600px;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* background: url("../images/background/across_bg.png");
    background-position: center;
    background-size: cover; */
}

.acrossContentLayout {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.acrossContentLayoutSlide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.across_cardMainLayout {
    width: 280px;
    height: 380px;
    border-radius: 20px;
    padding: 10px;

    background: #fbe886;
    border: 2px solid #5c4515;
}

.across_cardLayout {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    /* padding: 10px; */

    background: #fdf6e6;
    border: 3px solid #bfa26b;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.across_cardReward {
    color: #282828;
    font-size: 25px;
    line-height: 25px;
    font-weight: 700;
    text-align: center;

    width: 100%;
    height: 150px;
    padding: 25px;
    background: #f2e597;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.across_cardLogo {
    width: 180px;
    height: 150px;
    padding: 10px;
}

.across_cardFooter {
    position: absolute;
    bottom: 20px;
    width: 100%;
    height: 20px;
    padding: 10px;
    text-align: center;

    font-size: 14px;
    font-weight: 500;
}


.gameInfoMainLayout {
    width: 100%;
    /* max-width: 1600px; */
    min-height: 100dvh;
    margin: 0 auto;
    padding: 30px 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}


/* modal  */
.modal-content {
    background: #fbe886;
    border-radius: 30px;
    box-shadow: 1px 1px 5px #000;
    padding: 10px;
}

.modal_contentLayout {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    padding: 40px 50px;

    background: #fffaf0;
    color: #000;
    border: 4px solid #bfa26b;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modalPR_hr {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #fedeaf;
}

.modalPR_hr2 {
    width: 100%;
    height: 2px;
    border-radius: 5px;
    background: #fedeaf;
}

.modalPR_mainForm {
    width: 100%;
    max-width: 600px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Custom radio buttons */
.radio {
    width: 100%;
    max-width: 650px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.radio.xl input[type="radio"]+label {
    width: 100%;
    max-width: 550px;
    font-size: 16px;
    line-height: 20px;
}

input[type="radio"]+label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 40px;

    font-size: 22px;
    height: 100%;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: start;

    color: #323232;
}

input[type="radio"]+label:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    margin-right: 14px;
    position: absolute;
    /* top: -3px; */
    left: 0;
    border: 1px solid #dfce89;
    background-color: #fdfdeb;
    border-radius: 50%;
}

input[type="radio"] {
    display: none !important;
}

input[type="radio"]:checked+label:after {
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    left: 5px;

    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dfce89;
    border: 1px solid #dfce89;
}

input {
    width: 100%;
    padding: 10px 20px;
    height: 60px;
    border-radius: 15px;

    background: #f9f2c8;
    border: 1px solid #f9f2c8;

    color: #141414;
    font-size: 18px;
}

input::placeholder {
    color: #3232329c;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input:focus-visible {
    outline: none;
}

.modalPR_btnTitle {
    color: #fff;
    text-shadow:
        3px 3px 0 #633f13,
        -3px 3px 0 #633f13,
        3px -3px 0 #633f13,
        -3px -3px 0 #633f13,
        3px 0 0 #633f13,
        -3px 0 0 #633f13,
        0 3px 0 #633f13,
        0 -3px 0 #633f13;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 800;
    line-height: 30px;
    font-family: "PSL345pro", sans-serif;
    letter-spacing: 2px;
}

.modalPR_inputError {
    display: none;
}

.modalPR_inputError.active {
    width: 100%;
    height: 32px;
    padding: 5px 12px;
    border: 1px solid #d60000;
    border-radius: 20px;

    background: #ffeaea;
    color: #d60000;

    display: flex;
    align-items: center;
    gap: 5px;

    font-size: 14px;
    font-weight: 600;
}

.modalPR_inputError i {
    font-size: 20px;
    padding-bottom: 2px;
}

.my-popup {
    background: transparent;
}


.modalPR_inviteFriendLayout {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 60px;
    border-radius: 10px 20px 30px 10px;
    padding: 10px;
    padding-right: 150px;

    background: #f9f2c8;
    display: flex;
    align-items: center;
}

.modalPR_inviteFriendCopy {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    min-width: 140px;
    height: 60px;
    padding: 5px 20px;
    border: 0px solid transparent;

    background: url("../images/button/button_primary_03.png");
    background-position: center;
    background-size: cover;
    filter: drop-shadow(1px 3px 1px #000000e1);
    color: #84510a;
    border: 0px solid;

    transition: all .5s;
}

.modalPR_inviteFriendLayout span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}


.modalPR_inviteFriendCopy:hover {
    filter: drop-shadow(1px 2px 10px #ffc354);
}

.modalPR_inviteFriendAlert {
    width: 100%;
    max-width: 600px;
    height: 32px;
    padding: 5px 12px;
    border: 1px solid #00a816;
    border-radius: 20px;

    background: #e6ffe9;
    color: #00a816;

    display: none;
    align-items: center;
    gap: 5px;

    font-size: 14px;
    font-weight: 600;
    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

.modalPR_inputError i {
    font-size: 20px;
    padding-bottom: 2px;
}

.modalPR_inviteFriendCount {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.if_countImg {
    width: 120px;
}

/* ===== Cookie Page =====  */
.cookiePolicyMainLayout {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: 30px;
    padding-top: 50px;
    padding-bottom: 50px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cookiePolic_contentMainLayout {
    background: #fbe886;
    border-radius: 30px;
    box-shadow: 1px 1px 5px #000;
    padding: 10px;
    width: 100%;
    max-width: 1199px;
}

.cookiePolic_contentLayout {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    padding: 40px 50px;
    background: #fffaf0;
    color: #000;
    border: 4px solid #bfa26b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive-wrapper table {
    min-width: 600px;
    border-collapse: collapse;
}

p,
a span {
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: anywhere;
}

p,
a {
    display: block;
    max-width: 100%;
}

.modal_pr_cardCountPoint {
    width: 150px;
    height: 50px;
    border-radius: 50px;
    padding: 10px;

    background: #303030;
    box-shadow: inset 0px 0px 15px 2px #000;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 25px;
    line-height: 25px;
    font-weight: 600;
}

.modal_pr_img {
    width: 100%;
    max-width: 320px;
}

.modal_pr_img2 {
    width: 100%;
    max-width: 150px;
}

.acrossSlideMainLayout,
.dots-container2 {
    display: none !important;
}

/* custom-dropdown  */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-header {
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    height: 60px;
    border-radius: 15px;
    background: #f9f2c8;
    border: 1px solid #f9f2c8;
    color: #807d6d;
    font-size: 17px;
}

.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    /* FIX 1: Change max-height to auto and remove overflow here */
    max-height: none;
    overflow: visible;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

    .dropdown-menu-custom.show {
        display: block;
    }

/* FIX 2: Move the scroll logic to the List container only */
#dropdownList {
    max-height: 250px; /* Adjust height as needed */
    overflow-y: auto;
    overflow-x: hidden;
}

.search-box {
    padding: 10px;
    position: sticky;
    top: 0;
    background: white; /* Ensure search box has background when sticking */
    z-index: 10;
    border-bottom: 1px solid #eee;
}

    .search-box input {
        width: 100%; /* Ensure input takes full width */
        font-size: 14px;
        height: 40px;
        border-radius: 10px;
        padding-left: 30px;
    }

    .search-box i {
        position: absolute;
        top: 25px;
        left: 20px;
        font-size: 10px;
    }

.dropdown-item-custom {
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    color: #333; /* Make text darker for better visibility */
}

    .dropdown-item-custom:hover {
        background: #f9f2c8;
        border-left-color: #ffe043;
    }

    .dropdown-item-custom.selected {
        background: #f9f2c8;
        color: #000; /* Fixed missing # and improved color */
        font-weight: 500;
    }

.no-results {
    width: 100%;
    height: 60px;
    padding: 10px;
    text-align: center;
}

#selectedText {
    color: #807d6d;
}

/* Optional: Custom Scrollbar to match your theme */
#dropdownList::-webkit-scrollbar {
    width: 6px;
}

#dropdownList::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#dropdownList::-webkit-scrollbar-thumb {
    background: #ffe043;
    border-radius: 10px;
}