.swal2-modal #swal2-title, .swal2-modal #swal2-html-container, .swal2-modal .swal2-close {
    font-weight: bold;
    -webkit-text-stroke: 3px black;
    paint-order: stroke fill;
}

.box-shadow {
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.75);
}

.custom-modal .btn-close {
    background: none;
}

.custom-modal .modal-content {
    padding: 0;
    overflow: hidden;
}

.dailyModal .modal-dialog, .goiXuModal .modal-dialog{
    max-width: 1011px!important;
}
.dailyModal .modal-content, .goiXuModal .modal-content, #transfer-coins-modal .modal-content {
    background: transparent;
    border: none;
}
.dailyModal .modal-body, .goiXuModal .modal-body{
    padding: 0;
    position: relative;
}
.dailyModal .main-modal{
    width: 73%;
    height: 59%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.day-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

#day1 { grid-area: 1 / 1 / 2 / 2; }
#day2 { grid-area: 1 / 2 / 2 / 3; }
#day3 { grid-area: 1 / 3 / 2 / 4; }
#day4 { grid-area: 1 / 4 / 2 / 5; }
#day5 { grid-area: 2 / 1 / 3 / 2; }
#day6 { grid-area: 2 / 2 / 3 / 3; }
#day7 { grid-area: 2 / 3 / 3 / 5; }
.day{
    cursor: pointer;
    position: relative;
}
.day:hover img{
    filter: brightness(110%);
}
.day.missed:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("/frontend/images/lobby/daily/frame_miss.png");
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.day.today:after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("/frontend/images/lobby/daily/frame_choosing.png");
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.day.claimed:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("/frontend/images/lobby/daily/frame_done.png");
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}
#day7.missed:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("/frontend/images/lobby/daily/frame_miss_day7.png");
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}
#day7.today:after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("/frontend/images/lobby/daily/frame_choosing2.png");
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}
#day7.claimed:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("/frontend/images/lobby/daily/frame_done_day7.png");
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.dailyModal .btn-close{
    position: absolute;
    width: 6%;
    right: 0%;
    top: 8%;
    opacity: 1;
}
.dailyModal .btn-nhanqua{
    position: absolute;
    width: 25%;
    left: 50%;
    bottom: 0%;
    transform: translateX(-50%);
    background: transparent;
    border: none;
}
.goiXuModal .main-modal{
    width: 80%;
    height: 77%;
    position: absolute;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.goiXuModal .btn-close{
    position: absolute;
    width: 6%;
    right: 0%;
    top: 0%;
    opacity: 1;
}
.gx-tab{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.gx-tab__item{
    cursor: pointer;
}
.gx-tab__item-img{
    display: block;
}
.gx-tab__item-img-fx{
    display: none;
}
.gx-tab__item.active .gx-tab__item-img{
    display: none;
}
.gx-tab__item.active .gx-tab__item-img-fx{
    display: block;
}
.gx-tab__item:hover .gx-tab__item-img{
    display: none;
}
.gx-tab__item:hover .gx-tab__item-img-fx{
    display: block;
}
.gx-tabcontent__item{
    display: none;
}
.gx-tabcontent__item.active{
    display: block;
}
.gx-tabcontent__item .btn-xacnhan{
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 27%;
}
.gx-tabcontent{
    margin-top: 15px;
    position: relative;
}
.gxtc-item{
    padding: 2px 10px;
}
.slider-items__back{
    display: inline-block;
    width: 3%;
    max-width: 38px;
    position: absolute;
    top: 50%;
    left: -3%;
    transform: translateY(-50%);
}
.slider-items__next{
    display: inline-block;
    width: 3%;
    max-width: 38px;
    position: absolute;
    top: 50%;
    right: -3%;
    transform: translateY(-50%);
}
.exp-time{
    display: block;
    width: 80%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-weight: bold;
    -webkit-text-stroke: 3px black;
    paint-order: stroke fill;
    font-size: 20px;
}
@media only screen and (max-width: 992px) {
    .exp-time{
        font-size: 2vw;
    }
}
@media only screen and (max-width: 768px) {
    .exp-time{
        -webkit-text-stroke: 2px black;
    }
}

.responsive-input {
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}

@media (min-width: 992px) {
    .responsive-input {
        padding: .5rem 1rem;
        font-size: 1.25rem;
        border-radius: .3rem;
    }
}

#transfer-coins-modal .main-modal{
    width: 73%;
    height: 59%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#transfer-coins-modal .btn-close {
    position: absolute;
    width: 6%;
    right: 4%;
    top: -3%;
    opacity: 1;
}

#transfer-coins-modal .btn-transfer {
    position: absolute;
    width: 25%;
    left: 50%;
    bottom: 2%;
    transform: translateX(-50%);
    background: transparent;
    border: none;
}

.simple-modal .modal-content {
    border: 1px solid #aeeafc;
}

.simple-modal .modal-header {
    background: linear-gradient(180deg, #4d50bf 0%, #262547 100%);
    border-bottom: none;
    justify-content: center;
}

.simple-modal .modal-footer {
    /*background: linear-gradient(180deg, #00bbfa 0%, #0060f0 100%);*/
    background: linear-gradient(180deg, #4d50bf 0%, #262547 100%);
    border-top: none;
    justify-content: flex-start;
}

.simple-modal .modal-title {
    font-size: 15pt;
    color: #fff;
    font-weight: bold;
    -webkit-text-stroke: 3px black;
    paint-order: stroke fill;
}

.simple-modal .modal-body {
    background: linear-gradient(180deg, #2e2e8a 0%, #1e1e4a 100%);
}

#mail-list .card-body, #mail-content .card-body, #reload-inbox, #reload-outbox, #default-inbox-content, #default-outbox-content {
    height: 250px;
    overflow-y: auto;
}

#reload-mail, #default-mail-content {
    height: 202px;
    overflow-y: auto;
}

/*#mail-list {*/
/*    background: linear-gradient(90deg, #4d50bf 0%, #262547 100%);*/
/*}*/

#mails .mail {
    color: #fff;
    background: transparent;
    border-bottom: 1px solid #af9db142;
    cursor: pointer;
}

li.unread .sender, li.unread .receiver, li.unread .title {
    font-weight: 700 !important;
}

li.unread .title {
    color: #0dcaf0;
}

li .created-at, li .countdown {
    font-size: 0.85rem;
}

li .coins {
    color: #ffc107;
    font-weight: 700 !important;
}

li .received-coins {
    color: #d0c991;
}

li.selected {
    background: linear-gradient(180deg, #2e2e8a 0%, #1e1e4a 100%) !important;
}

.simple-modal .btn-close {
    background-image: url('/frontend/images/h5/btn_back.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 20px;
    height: 20px;
    opacity: 1;
}

.simple-modal .btn-close:hover,
.simple-modal .btn-close:focus {
    opacity: 0.8;
}

#mail-modal .card {
    background: transparent;
}

#mail-list .card-body {
    color: #fff;
    background: linear-gradient(180deg, #4d50bf 0%, #262547 100%);
}

#mail-list .card-header {
    background: linear-gradient(to top, #4d50bf 0%, #262547 100%);
}

#mail-list .card-header button {
    font-weight: bold;
}

#mail-content .card-header {
    color: #fff;
    background: linear-gradient(to top, #4d50bf 0%, #262547 100%);
}

#mail-content .card-body {
    color: #fff;
    background: linear-gradient(180deg, #4d50bf 0%, #262547 100%);
}

.modal.blur {
    filter: blur(3px);
    pointer-events: none;
}

#send-mail-modal .modal-body {
    background: linear-gradient(to top, #2e2e8a 0%, #1e1e4a 100%);
    color: #fff;
}

.custom-popover {
    --bs-popover-max-width: 200px;
    --bs-popover-border-color: #ffc107;
    --bs-popover-header-bg: #4d50bf;
    --bs-popover-header-color: #fff;
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: .5rem;
}

#mail-coins, #receiver-helpblock {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1099;
}

.box-in-mail {
    border: 1px solid #a08d8d;
    font-size: 0.9rem;
    border-radius: 6px;
    background: linear-gradient(90deg, #6a6abd 0%, #252559 100%);
}

#lobby-unread-mail-count {
    top:18%;
    left:90%;
    border: 1px solid #fff;
}

.ranking-img {
    width: 38px;
    height: 38px;
}

.ranking-img-sm {
    width: 30px;
    height: 30px;
}

.ranking-avatar {
    width: 50px;
    height: 50px;
}

.simple-modal .bg-level {
    background-image: url('/frontend/images/h5/level.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 30px;
    height: 30px;
    font-size: 9pt;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 1px rgba(0,0,0,0.35);
    vertical-align: middle;
}

.simple-modal .captcha {
    overflow: hidden;
}

@media (orientation: portrait) {
    .fancy-game .fancybox-toolbar {
        left: 47%;
        top: -1px;
    }

    .fancy-game .fancybox-button--close {
        padding: 3px;
        height: 30px;
        width: 30px;
    }
}

#btn-login-home {
    max-width: 150px;
}

#auth-modal .btn-close {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 1%;
    top: 1%;
}

@media (max-width: 767.98px) {
    .btn-rank {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
        border-radius: 0.2rem;
    }

    #rank-date {
        padding-top: .25rem;
        padding-bottom: .25rem;
        padding-left: .5rem;
        font-size: .875rem;
        border-radius: 0.25rem;
    }
}

.box-user {
    border: 1px solid #a08d8d;
    background: linear-gradient(90deg, #6a6abd 0%, #252559 100%);
}

#send-mail-modal {
    z-index: 1058;
}

.text-center-cell {
    display: flex;
    justify-content: center;
    align-items: center;
}

td.ranking-order {
    width: 40px;
}

td.ranking-amount {
    width: 140px;
}
