html,
body {
    scrollbar-width: none !important;
    /* Firefox */
    -ms-overflow-style: none !important;
    /* IE and Edge */
    height: 100% !important;
    overflow: hidden !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important;
    /* Chrome, Safari, Opera */
}

body {
    font-family: 'Ibmplex', 'Prompt', sans-serif;
    font-size: 0.8rem;
    overflow-x: hidden;
    line-height: inherit;
    margin: 0;
    background: var(--body-bg);
}

input:focus-visible {
    outline: 1px solid #55585c;
}

img,
video {
    height: auto;
    max-width: 100%;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: inherit;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none;
}

.cur {
    cursor: pointer;
}

.text-center {
    text-align: center;
}

.fbold {
    font-weight: bold;
}

.mt-5 {
    margin-top: 5px;
}

.mb-5 {
    margin-bottom: 5px;
}

.ml-5 {
    margin-left: 5px;
}

.mr-5 {
    margin-right: 5px;
}

/*##=============== login ============*/
.bx_msg {
    background: #ef44441a;
    border: 1px solid rgba(239, 68, 68, .25);
    color: #fca5a5;
    padding: 8px 15px;
    margin-bottom: 10px;
    margin-top: 10px;
    display: none;
    border-radius: 10px;
}

.box-backtohome {
    position: absolute;
    right: 15px;
    color: var(--ufa-theme-text, #F1C524);
    font-weight: bold;
    font-size: 180%;
    top: 15px;
}

.app__body {
    width: 100%;
    max-width: 438px;
    margin: auto;
    position: relative;
}

.login-bg {
    background: var(--login-bg-img);
    background-repeat: no-repeat;
    animation: kb-drift 18s ease-in-out infinite alternate;
    background-position: 50%;
    background-size: cover;
    inset: -8%;
    position: absolute;
    will-change: transform;
    z-index: 0;
    width: 100%;
    max-width: 438px;
    margin: auto;
}

@keyframes kb-drift {
    0% {
        transform: scale(1.08) translate(0)
    }

    33% {
        transform: scale(1.08) translate(1%, 1%)
    }

    66% {
        transform: scale(1.08) translate(1%, -1.5%)
    }

    to {
        transform: scale(1.08) translate(1%, .5%)
    }
}

.container {
    padding: 20px;
    height: 97vh;
    max-height: 100vh;
    align-content: center;
    z-index: 1;
    position: relative;

}

.login .boxmain {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: #000000a6;
    border: 1px solid hsla(39, 67%, 67%, .2);
    border-radius: 16px;
    box-shadow: 0 8px 32px #0009, inset 0 1px #e3bc7214;
    margin: 16px auto auto;
    padding: 16px 0;
    width: 86%
}

@media (max-width: 768px) {

    .login .boxmain {
        margin-top: -150px;
        background: none;
        border-radius: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/*.back-homee{color: var(--ufa-theme-text, #F1C524);}*/
.boxlogo {
    margin: auto;
    width: 438px;
    width: 80%;
}

.boxlogo img {
    margin: auto;
    height: auto !important;
    width: 100%;
}

.text-wellcom {
    text-align: center;
    color: var(--login-text-wellcom-color);
}

.box-userortel-input {
    background: #ffffff0a;
    border: 1px solid hsla(39, 67%, 67%, .18);
    border-radius: .75rem;
    overflow: hidden;
}

.box-login-userortel {
    padding: .25rem;
    background-color: #0006;
    border-radius: 10px;
    column-gap: .375rem;
    display: flex;
    margin-top: .75rem;
    border: 1px solid #ffffff0f;
}

.btn-login-userortel {
    --tw-text-opacity: 1;
    color: #ffffff59;
    transition-duration: .15s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    background-color: #0006;
    font-weight: 500;
    font-size: 13px;
    border-width: 1px;
    border-color: #0000;
    border-radius: 8px;
    flex: 1 1 0%;
    height: 34px;
    cursor: pointer;
}

.btn-login-userortel.active {
    color: rgb(227 187 114 / var(--tw-text-opacity, 1));
    --tw-shadow: 0 1px 2px 0 #0000000d;
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    background-color: var(--ufa-color-e3bb72, #E3BB72)1a;
    border-color: var(--ufa-color-e3bb72, #E3BB72)4d;
}

.box-userortel-input-divider:first-child {
    border-bottom-color: #e3bc721f !important;
    border-bottom: 1px solid hsla(0, 0%, 100%, .14);
}


.bx_user {
    padding-bottom: .75rem;
    padding-top: .75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 50px;
}

.bx_pass {
    position: relative;
    margin-bottom: 10px;
}

/* .bx_user input,
.bx_pass input {
    background-color: #29303d;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 15px 15px 15px 60px;
    width: 100%;
    border: none;
    color: #70798a;
} */

.bx_user i,
.bx_pass i {
    left: 15px;
    padding: 5px;
    position: absolute;
    top: 10px;
    color: #70798a;
    font-size: 150%;
    background: #00000042;
    border-radius: 20px;
}

.bx_pass .toggle-password {
    color: #98a2b3;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 140%;
}

.bx_forgetpass {
    color: var(--ufa-theme-text, #F1C524);
    letter-spacing: 0.5px;
    text-align: right;
    margin-right: 5px;
}

.bx_btn {
    text-align: center;
    margin-top: 20px;
}

.bx_btn .btn-login {
    position: relative;
    width: 100%;
    padding: 5px;
    border-radius: 10px;
    height: 40px;
    font-size: 120%;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #d2a80f, #ba7100);
    border: 1px solid #3a3a3a;
    color: #000;
    cursor: pointer;
}

.bx_btn .btn-login:after {
    content: "";
    display: inline-flex;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 10%);
    border-radius: inherit;
    -webkit-mask: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNi4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5ZyW5bGkXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMjI0IDMwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMjQgMzA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiMwNDAwMDA7fQ0KPC9zdHlsZT4NCjxnPg0KCTxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMCwwIDE3Ny4yLDAgMTU2LjYsMzAgMCwzMCAJIi8+DQoJPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIxODIuNywwIDE4OSwwIDE2OC41LDMwIDE2Mi4yLDMwIAkiLz4NCjwvZz4NCjwvc3ZnPg0K);
    mask: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNi4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i5ZyW5bGkXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMjI0IDMwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMjQgMzA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiMwNDAwMDA7fQ0KPC9zdHlsZT4NCjxnPg0KCTxwb2x5Z29uIGNsYXNzPSJzdDAiIHBvaW50cz0iMCwwIDE3Ny4yLDAgMTU2LjYsMzAgMCwzMCAJIi8+DQoJPHBvbHlnb24gY2xhc3M9InN0MCIgcG9pbnRzPSIxODIuNywwIDE4OSwwIDE2OC41LDMwIDE2Mi4yLDMwIAkiLz4NCjwvZz4NCjwvc3ZnPg0K);
    -webkit-mask-size: 368px;
    -webkit-mask-position: 0% 0%;
    -webkit-mask-repeat: no-repeat;
    pointer-events: none;
    margin-top: -7px;
}

.bx_btn .btn-login span {
    display: inline-block;
    color: #000;
    background: #000 -webkit-gradient(linear, 100% 0, 0 0, from(#000), color-stop(.5, var(--ufa-color-cdbb84, #CDBB84)), to(#000));
    background-position: -200px top;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation-name: x-shimmer;
    animation-name: x-shimmer;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: x-shimmer-shorter;
    animation-name: x-shimmer-shorter;
    animation-duration: 3.5s;
}

.bx_regis {
    color: #eee;
    letter-spacing: 0.5px;
    margin-top: 20px;
    text-align: center;
}

.bx_regis span.reg {
    text-decoration: underline;
    color: var(--ufa-theme-text, #F1C524);
}

.bx_hror {
    position: relative;
    text-align: center;
    margin-top: 30px;
}

.bx_hror hr {
    border-color: #2d323691;
    border-top-width: 1px;
    color: inherit;
    height: 0;
}

.bx_hror .pdft {
    background: #171e26;
    color: #fff;
    padding: 10px 0;
    width: 50px;
    margin: 0 auto;
    margin-top: -27px;
}

@media (min-width: 960px) {
    .bx_hror hr {
        border-color: #38414891;
    }

    .bx_hror .pdft {
        background: #232833;
    }
}

.bx_orther {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.bx_orther div {
    background: #50545c;
    color: #98a2b3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 175%;
    cursor: pointer;
}

.bx_orther div.-home {
    background: var(--ufa-color-f1c524, #F1C524);
    color: #000;
}

.bx_orther div.-regis {
    background: #FF9800;
    color: #000;
}

.bx_orther div.-line {
    background: #05ca0d;
    color: #fff;
}

.bx_orther div.-livechat {
    background: linear-gradient(180deg, #fc7b22, #ee433a, #de0658);
    color: #fff;
}

.bx_orther div.-skype {
    background: linear-gradient(180deg, #3eb9f1, #349ddc, #2e8cce);
    color: #fff;
}

.bx_orther div.-telegram {
    background: #3290ec;
    color: #fff;
}

.bx_orther div.-wechat {
    background: linear-gradient(180deg, #06e16f, #09d067, #08c261);
    color: #fff;
}


/*##========= register ========*/
.bx_input {
    position: relative;
    margin-bottom: 20px;
}

.bx_input input {
    background-color: #29303d;
    border-radius: 10px;
    box-sizing: border-box;
    padding: 15px 15px 15px 60px;
    width: 100%;
    border: none;
    color: #70798a;
}

.bx_input i {
    left: 15px;
    padding: 5px;
    position: absolute;
    top: 10px;
    color: #70798a;
    font-size: 150%;
    background: #00000042;
    border-radius: 20px;
}

.bx_bookname {
    position: relative;
    margin: 10px;
    color: #eee;
    font-size: 130%;
    text-align: center;
}

.bx_titletxt {
    position: relative;
    margin-bottom: 5px;
    color: #eee;
    font-size: 130%;
    text-align: center;
}

.boxlogoreg {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.boxlogoreg img {
    background: #36363663;
    border-radius: 15px;
    padding: 10px;
    max-width: 150px !important;
    margin: initial !important;
}

.boxlogoreg .bxtxtreg {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    margin-left: 10px;
}

.boxlogoreg .bxtxtreg .-txtmreg {
    font-size: 185%;
}

.boxlogoreg .bxtxtreg .-txtsreg {
    font-size: 110%;
}

.boxstepreg {
    display: flex;
    color: #fff;
    justify-content: space-around;
    margin-top: 30px;
    margin-bottom: 20px;
}

.boxstepreg .dstp {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.boxstepreg .brstp {
    border-top: 1px solid #545454;
    width: 35px;
    margin-top: 20px;
}

.boxstepreg .dstp .-box {
    background: #ffffff2e;
    border: 1px solid #656565;
    border-radius: 50%;
    padding: 5px;
    color: #969696;
    font-size: 160%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.boxstepreg .dstp .bg-ac {
    background: var(--ufa-color-d5ad38, #D5AD38);
    border: 1px solid var(--ufa-color-d1a436, #D1A436);
    color: #000;
}

.boxstepreg .dstp .-txt {
    color: #828282;
    line-height: 25px;
    font-size: 90%;
}

.boxStep .select_type {
    margin-bottom: 15px;
    display: flex;
    overflow: hidden;
}

.boxStep .select_type label {
    background: #4a4e54;
    border: 1px solid #4a4e54;
    padding: 5px 20px;
    color: #969696;
}

.boxStep .select_type label.active {
    background: var(--ufa-color-d5ad38, #D5AD38);
    border: 1px solid var(--ufa-color-d1a436, #D1A436);
    color: #000;
}

.boxStep .select_type input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.boxStep .select_type label:first-of-type {
    border-radius: 5px 0 0 5px;
}

.boxStep .select_type label:last-of-type {
    border-radius: 0 5px 5px 0;
}

.box_chkuse {
    margin-top: 20px;
}

.box_chkuse .-meuse span {
    color: #eee;
    letter-spacing: 0.5px;
}

.box_chkuse .-meuse a {
    text-decoration: underline;
    color: var(--ufa-theme-text, #F1C524);
}

.select2-container {
    width: 100% !important;
}

.select2-container--bootstrap-5 .select2-selection {
    color: #0e0e0e;
    background-color: #ffffff;
    border: 1px solid #636973;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #4b4e54;
    box-shadow: 0 0 0px #fff;
}


/*======== add bank ==================*/

.disableddiv {
    pointer-events: none;
    opacity: 0.4;
}

.bank_kbank {
    background-color: #528e39;
}

.bank_scb {
    background-color: #48327c;
}

.bank_bbl {
    background-color: #314695;
}

.bank_bay {
    background-color: var(--ufa-color-efc349, #EFC349);
}

.bank_ktb {
    background-color: #1ba5e1;
}

.bank_tmb {
    background-color: #0050f0;
}

.bank_tbank {
    background-color: #fc4f1f;
}

.bank_gsb {
    background-color: #eb198d;
}

.bank_baac {
    background-color: #4b9b1d;
}

.bank_uob {
    background-color: #0b3979;
}

.bank_tisco {
    background-color: #12549f;
}

.bank_cimb {
    background-color: #7e2f36;
}

.bank_lhb {
    background-color: #6d6e71;
}

.bank_ghb {
    background-color: #ee8932;
}

.bank_kk {
    background-color: #626094;
}

.bank_kkp {
    background-color: #626094;
}

.bank_ttb {
    background-color: #0050f0;
}

.bank_truemoney {
    background-color: #fff;
}

.bank_truemoney img {
    margin-top: 5px;
}

.bank_content {
    padding: 15px 10px;
}

.bank_content .-select-bank {
    color: var(--cl-white);
    font-size: 18px;
    text-align: center;
    padding: 0 0 10px;
}

.bank_flex {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.bank_flex .bank_box.is-active,
.bank_flex .bank_box:hover {
    opacity: 1;
    border: 1px solid #c3c3c3;
}

.bank_flex .bank_box {
    margin: 2px;
    border-radius: 10px;
    cursor: pointer;
    opacity: .35;
    border: 2px solid #000;
    position: relative;
}

.bank_flex .bank_box .-check-right.is-active {
    display: block;
}

.bank_flex .bank_box .-check-right {
    position: absolute;
    display: none;
    bottom: -10px;
    right: -5px;
}

.bank_flex .bank_box .-check-right i {
    font-size: 16px;
    color: #5abd37;
}

.fa-check-circle:before {
    content: "\f058";
}

:after,
:before {
    text-decoration: inherit;
    vertical-align: inherit;
}

.bank_flex .bank_box img {
    padding: 5px;
}

.bank-name {
    margin-top: 20px;
}

.bank-input {
    margin-top: 20px;
}

.bank-input .input-contain {
    margin-top: 10px;
}


/*======== shimmer ==================*/
@keyframes x-shimmer-short {
    0% {
        background-position: -100px top
    }

    to {
        background-position: 100px top
    }
}

@-webkit-keyframes x-shimmer-shorter {
    0% {
        background-position: -60px top
    }

    to {
        background-position: 60px top
    }
}

@keyframes x-shimmer-shorter {
    0% {
        background-position: -60px top
    }

    to {
        background-position: 60px top
    }
}

/* ==========================================
   Modern UFA Login Page Layout Styles
   ========================================== */

.login-main-wrapper {
    width: 100%;
    max-width: 438px;
    margin: auto;
    position: relative;
    overflow: hidden;
    height: 100% !important;
}

.ufa-coming-soon {
    position: absolute;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 32px 24px;
    overflow: hidden;
    box-sizing: border-box;
    background:
        radial-gradient(circle at 50% 38%, rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .18), transparent 34%),
        rgba(5, 5, 5, .9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.login-main-wrapper.is-coming-soon > .login-header,
.login-main-wrapper.is-coming-soon > .main-content-scroll {
    display: none !important;
}

.ufa-coming-soon__glow {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .2);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .16);
    animation: ufa-coming-soon-pulse 2.8s ease-in-out infinite;
}

.ufa-coming-soon__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 34px 24px;
    text-align: center;
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .35);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(31, 29, 24, .94), rgba(8, 8, 8, .96));
    box-shadow: 0 18px 55px rgba(0, 0, 0, .55), inset 0 1px rgba(255, 255, 255, .06);
}

.ufa-coming-soon__logo {
    display: block;
    width: min(230px, 78%);
    max-height: 74px;
    margin: 0 auto 28px;
    object-fit: contain;
}

.ufa-coming-soon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    color: var(--ufa-theme-text, #E3BB72);
    font-size: 25px;
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .38);
    border-radius: 50%;
    background: rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .08);
    box-shadow: 0 0 28px rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .14);
}

.ufa-coming-soon h1 {
    margin: 0;
    color: var(--ufa-theme-text, #E3BB72);
    font-size: clamp(32px, 9vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .02em;
}

.ufa-coming-soon p {
    margin: 18px 0 5px;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
}

.ufa-coming-soon span {
    color: rgba(255, 255, 255, .48);
    font-size: 13px;
}

.ufa-coming-soon__login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    margin-top: 26px;
    padding: 0 22px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 239, 184, .72);
    border-radius: 999px;
    background: linear-gradient(135deg, #FFF0A6, var(--ufa-theme-text, #E3BB72) 52%, #C88A18);
    box-shadow: 0 8px 24px rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .22);
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.ufa-coming-soon__login-btn span {
    color: inherit;
    font-size: inherit;
}

.ufa-coming-soon__login-btn:hover {
    color: #111;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 11px 30px rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), .3);
}

.ufa-coming-soon__login-btn:active {
    transform: translateY(0) scale(.98);
}

@keyframes ufa-coming-soon-pulse {
    0%, 100% { transform: scale(.92); opacity: .45; }
    50% { transform: scale(1.08); opacity: .9; }
}

.login-header-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 30px !important;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 438px;
    z-index: 10;
    box-sizing: border-box;
}

.header-right-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.help-btn-wrapper {
    margin-right: 1rem;
}

.social-media-box-line {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #06C755 !important;
    /* solid LINE green */
    border: none !important;
    border-radius: 9999px !important;
    padding: 6px 14px !important;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    height: 30px;
    box-sizing: border-box;
}

.social-media-box-line:hover {
    opacity: 0.9;
}

.help-icon {
    display: flex;
    align-items: center;
    margin-right: 6px;
    color: #FFF;
    font-size: 18px;
}

.help-text {
    color: #FFF;
    font-size: 11px;
    font-weight: 700;
}

.btn-lang-flag {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    cursor: pointer;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.main-content-scroll {
    height: calc(100% - 72px) !important;
    overflow-y: auto !important;
    padding-bottom: 100px;
    position: relative !important;
    z-index: 1 !important;
    scrollbar-width: none !important;
    /* Firefox */
    -ms-overflow-style: none !important;
    /* IE and Edge */
}

.main-content-scroll::-webkit-scrollbar {
    display: none !important;
    /* Chrome, Safari, Opera */
}

.scroll-inner {
    padding-top: 10px;
    display: block;
}

.login-logo-section {
    width: 100%;
    margin-bottom: 24px;
    padding-top: 1rem;
}

.login-logo-section .img-logo {
    display: block;
    margin: 0 auto;
    width: 80%;
    max-width: 438px;
}

.relative-container {
    position: relative;
    width: 100%;
}

.login-form-container {
    width: 100%;
}

.login-form-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.08);
    margin: 0 auto;
    padding: 10px 20px 20px 20px;
    width: 76%;
}

.login-welcome-text {
    text-align: center;
    font-size: 11px;
    color: rgba(var(--ufa-theme-text-rgb, 227, 187, 114), 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-top: 4px;
}

.login-inputs-section {
    margin-top: 1rem;
}

.ui-section-card--glass {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.2) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.ui-section-divider {
    border-bottom: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.12);
    padding: 12px 16px;
}

.ui-input-field {
    padding: 12px 16px;
}

.input-label {
    display: block;
    font-size: 11px !important;
    color: rgba(var(--ufa-theme-text-rgb, 227, 187, 114), 0.6) !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

.input-textbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
}

.input-textbox {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    outline: none !important;
    min-height: 28px;
    padding: 0;
    box-shadow: none !important;
}

.input-textbox::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.ui-section-card--glass .toggle-password {
    color: rgba(var(--ufa-theme-text-rgb, 227, 187, 114), 0.5) !important;
    cursor: pointer;
    font-size: 16px;
    margin-right: 8px;
}

.ui-section-label {
    display: block;
    font-size: 11px !important;
    color: rgba(var(--ufa-theme-text-rgb, 227, 187, 114), 0.6) !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding-left: 20px;
    margin-top: 20px;
}

.verification-card {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.2) !important;
    border-radius: 12px !important;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.verification-checkbox {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--ufa-color-e3bb72, #E3BB72);
    cursor: pointer;
}

.verification-text {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px !important;
    user-select: none;
    cursor: pointer;
}

.bx_btn {
    /* padding: 0 20px;
    margin-top: 24px; */
}

/* Specificity overrides for gold primary button */
.bx_btn .ui-btn--primary {
    background: linear-gradient(to bottom, var(--ufa-color-8b6832, #8B6832), var(--ufa-color-fcdd9a, #FCDD9A)) !important;
    color: black !important;
    font-weight: bold !important;
    border-radius: 10px !important;
    height: 44px !important;
    border: none !important;
    width: 100% !important;
    font-size: 15px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bx_btn .ui-btn--primary:hover {
    opacity: 0.9 !important;
}

.bx_btn .ui-btn--primary span {
    color: #000 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    animation: none !important;
}

/* Specificity overrides for disabled button */
.bx_btn .ui-btn--primary-disabled {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-weight: bold !important;
    border-radius: 10px !important;
    height: 44px !important;
    width: 100% !important;
    font-size: 15px !important;
    cursor: not-allowed !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

.bx_btn .ui-btn--primary-disabled span {
    color: rgba(255, 255, 255, 0.25) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    animation: none !important;
}

.forgot-password-wrapper {
    text-align: right;
    margin-top: 12px;
    padding-right: 24px;
}

.forgot-password-link {
    font-size: 12px;
    color: rgba(var(--ufa-theme-text-rgb, 227, 187, 114), 0.7);
    text-decoration: none;
    cursor: pointer;
}

.register-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-left: 16px;
    margin-right: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.1);
}

.register-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.register-button {
    margin-left: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ufa-theme-text, #E3BB72);
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.4);
    border-radius: 8px;
    padding: 6px 12px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.register-button:hover {
    background-color: rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.1);
}

/* Language Selection Modal */
.lang-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lang-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lang-modal-content {
    position: relative;
    z-index: 1001;
}

/* Language Modal (Prototype Style) */
.lang-modal-content.prototype-style {
    background: #19191c !important;
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.2) !important;
    border-radius: 20px !important;
    max-width: 380px !important;
    width: 90% !important;
    padding: 24px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.lang-globe-icon-wrapper {
    margin-bottom: 16px;
}

.lang-globe-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ufa-theme-text, #E3BB72);
    font-size: 24px;
    background: rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.05);
}

.lang-modal-content.prototype-style .lang-modal-title {
    font-size: 16px !important;
    color: white !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    text-align: center;
    margin-top: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.lang-section {
    width: 100%;
    margin-bottom: 16px;
    position: relative;
}

.lang-section-label {
    display: block;
    font-size: 11px !important;
    color: rgba(var(--ufa-theme-text-rgb, 227, 187, 114), 0.6) !important;
    margin-bottom: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    text-align: left;
    width: 100%;
}

.lang-dropdown-display {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    height: 48px;
    padding: 0 16px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.lang-dropdown-display:hover {
    border-color: rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.4);
}

.lang-dropdown-display.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.lang-dropdown-display img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    margin-right: 12px;
}

.lang-dropdown-display span {
    color: white !important;
    font-size: 14px !important;
    flex: 1;
    text-align: left;
}

.lang-dropdown-display i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.lang-dropdown-list {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #232328;
    border: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 1010;
    max-height: 200px;
    overflow-y: auto;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-dropdown-item:hover {
    background: rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.1);
}

.lang-dropdown-item img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    margin-right: 12px;
}

.lang-dropdown-item span {
    color: white !important;
    font-size: 14px !important;
}

.lang-confirm-wrapper {
    width: 100%;
    margin-top: 12px;
}

.lang-confirm-btn {
    background: linear-gradient(to bottom, var(--ufa-color-8b6832, #8B6832), var(--ufa-color-fcdd9a, #FCDD9A)) !important;
    color: black !important;
    font-weight: bold !important;
    border-radius: 12px !important;
    height: 48px !important;
    border: none !important;
    width: 100% !important;
    font-size: 15px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lang-confirm-btn:hover {
    opacity: 0.9 !important;
}

/* Phone prefix styles */
.phone-prefix-wrapper {
    position: absolute !important;
    left: 0px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex;
    align-items: center !important;
    gap: 6px !important;
    padding-right: 4px !important;
    z-index: 10 !important;
}

.phone-prefix-flag {
    width: 20px !important;
    height: 15px !important;
    object-fit: cover !important;
    border-radius: 2px !important;

}

.phone-prefix-code {
    font-size: 15px !important;
    color: #fff !important;
    font-weight: 500 !important;
}

.phone-prefix-divider {
    width: 1px !important;
    height: 18px !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    margin-left: 4px !important;
}

.phone-prefix-chevron {
    position: static !important;
    top: auto !important;
    left: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-left: 2px !important;
    transform: none !important;
}

.boxstepreg .dstp:has(.bg-ac) .-txt {
    color: var(--ufa-theme-text, #D5AD38) !important;
}

.lang-modal-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    z-index: 10 !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.lang-modal-close:hover {
    color: white !important;
}

/* Bottom Sheet styling */
.bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.bottom-sheet-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.bottom-sheet-content {
    position: absolute;
    background: #19191c;
    border-top: 1px solid rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.2);
    border-radius: 20px;
    width: calc(100% - 20px);
    max-width: 400px;
    height: 500px;
    max-height: 94vh;
    padding: 16px 20px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    z-index: 2001;
    animation: slideUp 0.25s ease-out;
    top: 10vh;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.bottom-sheet-handle {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto 16px;
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bottom-sheet-title {
    color: white !important;
    font-size: 16px !important;
    font-weight: bold;
}

.bottom-sheet-close {
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.bottom-sheet-close:hover {
    color: white;
}

.bottom-sheet-search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.bottom-sheet-search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.bottom-sheet-search {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 0 16px 0 38px !important;
    color: white !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box;
}

.bottom-sheet-search:focus {
    border-color: rgba(var(--ufa-rgb-227-187-114, 227, 187, 114), 0.4) !important;
}

.bottom-sheet-list {
    flex: 1;
    overflow-y: auto;
}

.bottom-sheet-list::-webkit-scrollbar {
    display: none;
}

.bottom-sheet-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-sheet-item:last-child {
    border-bottom: none;
}

.bottom-sheet-item img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    margin-right: 14px;
}

.item-text-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
}

.item-main-text {
    color: white !important;
    font-size: 14px !important;
    font-weight: 500;
}

.item-sub-text {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 11px !important;
    margin-top: 2px;
}

.bottom-sheet-item .checkmark {
    color: var(--ufa-theme-text, #E3BB72);
    font-size: 16px;
    display: none;
}

.bottom-sheet-item.active .checkmark {
    display: block;
}

@media (max-width: 480px) {
    /* Keep the floating close button above the chat composer. */
    .ufa-login-page #ag-chat-widget-root.shared-chat-widget > .ag-chat-launcher.open {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }

    .ufa-login-page:has(.shared-chat-launcher.open) #tcChatStatus {
        bottom: calc(160px + env(safe-area-inset-bottom, 0px));
    }
}
