.box-coin {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 120px;
    background-image: url("../images/coin-station/box-coin.jpg");
    background-size: cover;
    background-position: 50%;
    border-radius: 20px;
    padding-bottom: 20px;
    border: 2px solid #B15EF4;
    box-shadow: 0px 1px 24px 4px rgba(144, 53, 221, 0.60);
    cursor: pointer;
    position: relative;
}

    .box-coin.lg {
        background-image: url("../images/coin-station/box-coin-lg.jpg");
        height: 100%;
    }

    .box-coin h1 {
        /*    color: #FFC700!important;*/
        font-size: 28px;
        line-height: 63.119%;
    }

    .box-coin p {
        font-size: 16px;
        line-height: 117.501%;
    }

    .box-coin img {
        width: 150px;
        height: 150px;
        object-fit: contain;
    }

.label-coin {
    background-image: url("../images/label-coin.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 55px;
    height: 55px;
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(3px 2px 4px rgba(0, 0, 0, 0.25));
}

    .label-coin h2 {
        font-size: 20px !important;
        line-height: 0.4;
    }

    .label-coin p {
        font-size: 10px !important;
    }

.box-coin.lg .has-text-shadow {
    text-shadow: 0px 3.062px 13.779px rgba(0, 0, 0, 0.55);
}

.box-coin.lg .coin-text {
    font-size: 35px
}

.box-coin.lg .coin-num {
    font-size: 56px;
    line-height: 59.305%;
    letter-spacing: -0.458px;
}

.box-coin.lg .coin-price {
    font-size: 16px;
    line-height: 99.17%;
    letter-spacing: -0.291px;
}

.box-coin.lg img {
    width: 170px;
    height: 170px;
}

.btn-information {
    color: #FFF !important;
    font-family: "Noto Sans Thai";
    font-size: 14px;
    text-decoration: none !important;
}

    .btn-information::before {
        content: "";
        display: inline-block;
        vertical-align: middle;
        background-image: url(../images/ic-info.png);
        background-repeat: no-repeat;
        background-size: 18px;
        width: 18px;
        height: 18px;
        margin-right: 5px;
        margin-bottom: 2px;
    }

    .btn-information:hover {
        text-decoration: underline !important;
    }

.text-information {
    color: #FFF;
    font-family: "Noto Sans Thai";
    font-size: 12px;
}

.modal-policy .modal-content {
    border-radius: 50px;
    border: 5px solid #73C2F1;
    background: #FFF;
    box-shadow: 4.717px 7.413px 3.976px 0px rgba(0, 0, 0, 0.14);
}

.modal-policy .modal-header {
    border-bottom: 1px solid #9A9A9A;
}

.modal-policy .btn-close {
    background-image: url(../images/ic-cross-red02.png);
    background-repeat: no-repeat;
    background-size: 35px;
    width: 35px;
    height: 35px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    opacity: 1;
    box-shadow: none;
    outline: none;
    border: none;
    background-color: transparent;
}

.modal-policy .modal-body .modal-scroll {
    height: 400px;
    overflow-y: auto;
}

    /* Custom scrollbar สำหรับ Chrome, Edge, Safari */
    .modal-policy .modal-body .modal-scroll::-webkit-scrollbar {
        width: 4px; /* ความกว้างของ scrollbar แนวตั้ง */
        height: 10px; /* ความสูงของ scrollbar แนวนอน */
    }

    .modal-policy .modal-body .modal-scroll::-webkit-scrollbar-track {
        background: transparent; /* พื้นหลังของ track (ราง) */
    }

    .modal-policy .modal-body .modal-scroll::-webkit-scrollbar-thumb {
        background: #D9D9D9; /* ตัว scrollbar (หัวแม่มือ) */
        border-radius: 5px;
    }

.modal-policy .text-paragraph {
    text-indent: 30px;
}

.modal-policy .btn-main {
    font-family: "Noto Sans Thai";
    font-size: 18px;
    border-radius: 50rem;
    height: 50px;
    box-shadow: 0px 2.921px 3.895px 0px rgba(0, 0, 0, 0.10);
}

.text-modal-login {
    color: #B3B3B3;
    font-size: 18px;
    line-height: 1;
}

.card-news-dt {
    border-bottom: 1px solid #D5D5D5;
    border-radius: 0;
}

.btn-pf-history {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* กำหนดระยะห่างระหว่างไอคอนกับข้อความ */
    border-radius: 10px;
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 16px;
    height: 35px;
    padding-left: 15px;
    padding-right: 15px;
    background: transparent;
    /*    position: absolute;
    top: 30px;
    right: 25px;*/
    margin-top: 8px;
}

    .btn-pf-history:before {
        content: "";
        display: block; /* เปลี่ยนจาก inline-block เป็น block เพื่อให้ทำงานกับ flexbox ได้ดีขึ้น */
        width: 15px;
        height: 15px;
        background-image: url("../images/ic-clock-white.png");
        background-repeat: no-repeat;
        background-size: contain;
    }

    .btn-pf-history:hover {
        background: linear-gradient(269deg, #D1A2CD -6.73%, #827DF8 188.8%);
    }


.pf-history-item {
    border-bottom: 1px solid #D3D3D3;
    padding: 10px 20px;
}

    .pf-history-item h1 {
        font-size: 32px;
    }

    .pf-history-item p {
        font-size: 20px;
        font-weight: 300;
    }

    .pf-history-item .c-gold {
        color: #DA7500 !important;
    }

    .pf-history-item .c-silver {
        color: #919191 !important;
    }

    .pf-history-item .c-green {
        color: #14AE5C !important;
    }

    .pf-history-item .c-red {
        color: #D72626 !important;
    }

.border-profile {
    border-radius: 50%;
    background: #FFB0D4;
    width: 175px;
    height: 175px;
    padding: 3px;
}

.upload-label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.upload-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: #333;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-coin-group {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .profile-coin-group .profile-coin-item {
        border-right: 1px solid rgba(233, 233, 233, 0.40);
        padding-left: 15px;
        padding-right: 15px;
        flex: 1;
    }

        .profile-coin-group .profile-coin-item:last-child {
            border-right: none;
        }

.profile-sec::before {
    content: "";
    background-image: url(../images/bg-intro.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 230px;
    position: absolute;
}

.custom-select-hof {
    border-radius: 50px;
    border: 1px solid #D7D7D7;
    background: rgba(255, 255, 255, 0.00);
    color: #D1A2CD !important;
    font-size: 32px;
    font-weight: 700;
}

/* ซ่อนไอคอน dropdown เดิม */
.bootstrap-select .custom-select-hof.dropdown-toggle::after {
  display: none;
}

/* ใส่ไอคอนใหม่ (ตัวอย่างใช้รูปภาพ) */
.bootstrap-select .custom-select-hof.dropdown-toggle {
  position: relative;
  padding-right: 2rem; /* เผื่อพื้นที่ด้านขวาสำหรับไอคอน */
}

.bootstrap-select .custom-select-hof.dropdown-toggle::before {
  content: "";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 8px;
  background-image: url(../images/arrow-down-gradient.png); /* เปลี่ยน URL รูปตามต้องการ */
  background-size: 14px 8px;
  background-repeat: no-repeat;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
}

.bootstrap-select.show .custom-select-hof.dropdown-toggle::before {
    transform: translateY(-50%) rotate(180deg);
}

.bootstrap-select .custom-select-hof.dropdown-toggle .filter-option-inner-inner {
    text-align: center;
}

.bootstrap-select .custom-select-hof.dropdown-toggle {
    height: 45px !important;
    line-height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.bootstrap-select .dropdown-menu {
  z-index: 1060 !important; 
}

@media (min-width: 992px) {
    .box-coin {
        height: 210px;
    }

        .box-coin h1 {
            font-size: 50px;
        }

        .box-coin p {
            font-size: 26px;
        }

        .box-coin[class*=" pk"] {
            margin-top: 20px;
            margin-bottom: 20px;
        }
    /*    .box-coin.pk1, .box-coin.pk2, .box-coin.pk3 {
        margin-bottom: 75px;
    }*/
    .label-coin {
        width: 75px;
        height: 75px;
    }

        .label-coin h2 {
            font-size: 28px !important;
        }

        .label-coin p {
            font-size: 14px !important;
        }

    .box-coin.lg .coin-text {
        font-size: 60px;
        line-height: 46.677px;
    }

    .box-coin.lg .coin-num {
        font-size: 86px;
    }

        .box-coin.lg .coin-num.lg {
            font-size: 102px;
        }

    .box-coin.lg .coin-price {
        font-size: 30px;
    }

        .box-coin.lg .coin-price.lg {
            font-size: 32px;
        }

    .profile-sec::before {
        top: 102px;
    }
}

@media (max-width: 991px) {
    .box-coin img {
        width: 80px;
        height: 80px;
    }

    .box-coin.lg img {
        width: 120px;
        height: 120px;
    }

    .box-coin[class*=" pk"] {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    /*    .box-coin.pk1, .box-coin.pk2, .box-coin.pk3, box-coin.pk4 {
        margin-bottom: 35px;
    }*/
    .box-coin.lg {
        width: 250px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    /*    .box-coin .img-final {
        width: 60%;
    }*/
}

.box-recaptcha {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    border: 1px solid #DADADA;
    border-radius: 10px;
    overflow: hidden;
}

    .box-recaptcha .img-recapcha {
        height: 80px;
        object-fit: contain;
        margin: 10px;
    }

.box-recaptcha-btm {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: #DADADA;
    width: 100%;
    padding: 10px 15px;
}
