:root {
    --background-main-color: #CE4740;
}

html,
body {
    font-family: 'Inter', sans-serif;
    color: #000000;
    font-weight: 700;
    height: 100%;
    width: 100%;
}


/* common css */
h1 {
    margin-top: 50px;
    font-size: 30px;
    font-weight: 700;
    color: black;
}


/*  css nav */
#content-user {
    background-color: rgba(1,1,1,1);
}

#nav__user {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box_left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.box_right {
    padding-right: 20px;
}

#nav__user a {
    color: #EAEBEA;
}

#nav__user .logo {
    /* background-color :  #D9D9D9; */
    /* border: 1px solid #000; */
    height: 80px;
    padding: 5px 0px;
    width: 20%;
    min-width: 200px;
}

#nav__user .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.btn--pokemon {
    background-color: var(--background-main-color);

}


.btn-logout {
    color: white !important;
}

#nav__user .link {
    color: white;
    margin: 0 15px;
}

#menu_user {
    color: #f1f1f1;
}

/* css content */
.top--slider {
    height: 50px;
}

.user__show__date {
    margin-top: 10px;
}

#list_evens{
    min-height: 90vh;
}
/* list evens  */
#list_evens h1 {
    margin-top: 40px;
    margin-bottom: 5px;
    font-size: 30px;
    font-weight: 700;
    color: black;

}

#list_evens .box_item {
    background-color: white;
    border-radius: 5px;
    justify-content: end;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 5%;
    margin: 0px auto;
    margin-top: 15px;
}

#list_evens .box_item img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#list_evens .box_item .bottom_img {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    flex: 0 0 auto;
}

#list_evens .box_item .rich_text_pack {
    height: 100px;
    overflow-y: hidden;
}

#list_evens .box_item p::-webkit-scrollbar {
    display: none;
}


#list_evens .item_even {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 50px;

}

#list_evens .card_pack_item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#list_evens .pack_img {
    flex: 1 1 auto;
}

#list_evens .pack_img img {
    width: 100%;
    max-height: inherit;
    height: 100%;
    object-fit: cover;
}

#list_evens .box_item h3 {
    font-weight: 700;
    font-size: 30px;
    max-height: 68px;
    overflow: hidden;
    text-overflow: ellipsis
}

#list_evens .box_item p {
    font-weight: 700;
    font-size: 15px;
}

#list_evens .box_item hr {
    background-color: black;
    height: 1px;
}

#list_evens .box_item button {
    margin-top: 15px;
}

/* open_pack  */
#open_pack {
    padding-top: 50px;
    min-height: 100vh;
}

#open_pack .open_card_img {
    min-width: 300px;
    height: auto
}

.bottom_img {
    background-color: #000000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.bottom_img .bottom_img_fee {
    font-size: 30px;
}

.bottom_img span {
    font-size: 15px;
    font-weight: 700;
}

#open_pack .title-pack {
    margin-bottom: 20px;
    min-width: 300px
}

#open_pack .title-pack img {
    min-width: 300px;
}

#open_pack .title-pack h1 {
    margin-top: 20px !important;
}

#open_pack .title-pack hr {
    height: 1px;
    background: black
}

#open_pack .list-card-result p {
    font-size: 15px;
    font-weight: 700;
}


.progress-bar-open-pack {
    background: #8f8d8d !important;
}


#open_pack .pack_action_free {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    margin-top: 16px;
}

#open_pack .pack_action {
    background-color: white;
    padding: 20px;
}

#open_pack .pack_action .pack_action_free{
    display: none;
}

#open_pack .pack_action .pack_action_title {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 13px;
    flex-wrap: wrap;
}

#open_pack .pack_action .pack_action_title h3 {
    font-size: 20px;
    font-weight: 700;
}


#open_pack .pack_action .pack_action_title span {
    font-size: 12px;
    font-weight: 700;
}

#open_pack .pack_action_button .button-action-wp{
    flex: 1 0 auto;
}

#open_pack .pack_action_button button {
    font-size: 25px;
    height: 50px;
    font-weight: 700;
    width: 100%;
}

#open_pack .pack_action_button .roll_one {
    background-color: #3900DB;
}


#open_pack #modal_confirm {
    text-align: center;
}

#open_pack #modal_confirm p {
    margin: 43px 0;
    font-size: 25px;
    font-weight: 700;
}

#open_pack #modal_confirm button {
    margin: 0 22px;
    width: 150px;
    height: 40px;
}

.width_common {
    width: 1074px;
    height: 456px;

}

#modal_check_user_login .modal-body {
    display: flex;
    align-items: center;
    margin: auto;
}

#modal_check_user_login .modal-body h1 {
    font-size: 25px;
    font-weight: 700;
}

#modal_check_user_login .modal-body .go_to_login {
    margin-top: 50px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 22px;
    background-color: var(--background-main-color);
}


#modal_check_user_login .modal-body .close {
    margin-top: 50px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 22px;
}

/* result roll */
#result-roll {
    height: auto;
    margin-bottom: 50px;
    min-height: 100vh;
}

#result-roll h1 {
    font-size: 30px;
    font-weight: 700;
}

#result-roll hr {
    height: 1px;
    background: black
}

#result-roll .result-body {
    overflow-y: scroll;
    max-height: 600px;
}

#result-roll .preview-card-wp {
    background-color: white;
}

#result-roll .result-bottom {
    margin-top: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#result-roll .preview-card-body.mobile{
    display: none;
}

#result-roll .preview-card-body .card-info.other-info{
    flex: 1 0 100%;
}

.btn-access {
    background-color: #CE4740;
    font-size: 15px;
    height: 40px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
}

.btn-sell {
    border-radius: 10px;
    font-size: 15px;
    background-color: #F8D676;
    font-weight: 700;
    height: 40px;
}

.btn-not-colleted,
.btn-not-access {
    background-color: #D9D9D9 !important;
    border: 1px solid #9e9b9b;
    border-radius: 10px !important;
    color: #333;
}

#modal_confirm_update_result {
    text-align: center;
}

#modal_confirm_update_result button {
    min-width: 200px;
    margin: 17px 0;
}

#modal_confirm_update_result p {
    width: 100%;
    text-align: center;
    color: #EA3223;
    font-weight: 700;
    font-size: 15px;
}


#modal_complete h1 {
    margin-top: 100px;
}

#modal_complete {
    text-align: center;
}


#modal_complete button {
    min-width: 200px;
    margin: 17px 0;
}






#box__info__user {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#box__info__user .box_point_user {
    background: white;
    margin: 0 30px;
    color: #EA3223;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0 20px;
    transform: skew(332deg);
    height: 38px;
}

.box_info_user {
    background-image: url("https://e7.pngegg.com/pngimages/476/159/png-clipart-pokemon-pikachu-pikachu-pokemon-games-pokemon-thumbnail.png");
    background-color: wheat;
    background-size: cover;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding-top: 20px;
    padding-left: 25px;
}


.dropbtn {
    border: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    padding: 10px;
}

.dropdown {
    position: relative;
    display: inline-block;
    float: right;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f1f1f1;
    width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.link_user {
    font-size: 15px;
    color: black !important;
    font-weight: 700;
}

.result-fail {
    background-color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

.result-fail button {
    margin-top: 20px;
}

/* loading.css */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Optional: Center the spinner */
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}


.checkbox-wp {
    width: 10% !important;
}

.checkbox-wp .checkmark-checkbox {
    display: block;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    border: 3px solid #000;
}

.checkmark-checkbox {
    border: 3px solid #FFFFFF;
}

.checkbox-wp .checkmark-checkbox::before {
    content: '';
    background-color: transparent;
    border: 4px solid;
    width: 80%;
    height: 50%;
    border-color: transparent transparent #000 #000;
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    visibility: hidden;
}

.checkmark-checkbox::before {
    border-color: transparent transparent #FFF #FFF;
}

.checkbox-wp input[type="checkbox"]:checked+.checkmark-checkbox::before {
    visibility: visible;
}

.checkmark-checkbox {
    width: 30px;
    height: 30px;
}

#input__register {
    display: flex;
    align-items: center;
}

.text-hyperlink {
    color: #1E34A3;
}


/* css scree n roll  */
video {
    width: 100%;
    object-fit: cover;

}

.box__send__email_success{
    display:flex;
    flex-direction:column;
    gap: 10px;
}

.row_roll {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 85vh;
}

.row_roll>.item_1 {
    flex-grow: 1;
}

.row_roll>.item_2 {
    flex-grow: 2;
}

.row_roll>.item_3 {
    flex-grow: 3;
}

a.un-inherit {
    color: #1E34A3;
}

a.un-inherit:hover {
    color: #1E34A3;
    text-decoration: underline;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* paginate  */
.admin-pagination {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0px;
    margin-bottom: 1rem;
}

.admin-page-link {
    border-radius: 3px;
    text-decoration: underline;
    padding: 5px 10px;
    cursor: pointer;
    border: 1px solid #c3c3c3;
    margin-right: 8px;
    font-weight: bold;
}

.admin-page-link:hover {
    color: #FFFFFF;
    background-color: #c3c3c3;
}

.admin-page-link:not(.admin-page-link.active,
    .admin-page-link:first-child,
    .admin-page-link:hover) {
    background-image: linear-gradient(180deg, transparent, #eee);
}

.admin-page-link.active,
.admin-pagination .admin-page-link:first-child {
    background-color: #666666;
    color: #FFFFFF;
    text-decoration: none;
    border-color: #494949;
}

.go_to_login_2 {
    margin-top: 50px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 22px;
    background-color: var(--background-main-color);
    min-width: 150px;
}


.btn_not_access_2 {
    margin-top: 50px;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 22px;
    min-width: 150px;
    background-color: #D9D9D9 !important;
    border: 1px solid #9e9b9b;
    border-radius: 10px !important;
    color: #333;
    margin-left: 20px
}

/* css screen */
.btn_login_mobile {
    display: none;
}

.menu_mobile {
    display: none;
}

.box_1__footer {
    background: #1E1E1E;
}

.box--footer{
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    color: #fff;
    font-weight: 700;
    padding: 25px 25px 15px;
    flex-wrap: wrap;
    margin :auto;
}

.box--footer>div{
    padding: 0px 10px;
}


@media only screen and (max-width: 400px) {
    #result-roll .result-bottom {
        position: fixed;
        bottom: 0px;
        left: 0px;
        width: 100%;
        margin: 0px;
        padding-top: 15px;
        background-color: white;
    }

    #result-roll .result-body {
        max-height: unset;
        overflow: unset;
        margin-bottom: 100px;
    }

    #result-roll .preview-card-body{
        display: none;
    }

    #result-roll .preview-card-body.mobile{
        display: block !important;
    }

    #result-roll .preview-card-wp .card-info.card-title {
        width: 100%;
        flex: 1 1 100%;
        text-align: center;
        margin: 0px auto;
    }

    #result-roll .preview-card-body .card-image {
        display: flex;
        justify-content: center;
        flex: 0 0 100%;
    }

    #result-roll .preview-card-body .card-info.other-info {
        margin: 0px auto;
    }

    #result-roll .preview-card-body .card-info>p:first-child {
        margin-top: 8px;
    }

    #result-roll .preview-card-body .card-rarity+div {
        margin-top: 38px;
    }

    #open_pack .pack_action_button button{
        font-size: 15px !important;
    }
}

@media only screen and (max-width: 600px) {
    header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
    }

    #nav__user {
        display: none !important
    }

    .menu_mobile {
        height: 80px;
        padding: 5px 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu_mobile .logo{
        min-width: 110px;
        width: 20%;
    }

    .menu_mobile #button-menu{
        margin-right: 15px;
    }

    #content-user {
        margin-top: 80px;

    }

    #admin-top {
        margin-top: 20px;
    }

    .mobile_hide {
        display: none !important;
    }

    .btn_login_mobile {
        display: flex;
        width: 26px;
        background: #ddd;
        align-items: center;
        height: 63px;
        border-radius: 5px;
        padding: 3px;
    }
}

@media only screen and (max-width: 575px) {
    #open_pack .open_pack_container{
        margin-bottom: 200px;
    }

    #open_pack .pack_action {
        position: fixed;
        bottom: 0px;
        left: 0px;
        width: 100%;
        z-index: 999;
        padding-left: 15;
        padding-right: 15;
        padding-bottom: 5px;
    }

    #open_pack .pack_action .pack_action_title {
        margin-top: 0px;
    }

    #open_pack .pack_action_button {
        display: flex;
        flex-direction: row !important;
        justify-content: space-evenly;
        margin-top: 0px !important;
        padding: 0px;
    }

    #open_pack .pack_action_button .button-action-wp:first-child{
        padding-right: 0px !important;
    }

    #open_pack .pack_action_button button {
        font-size: 20px;
        margin: 0px !important;
        margin-bottom: 10px !important;
    }

    #open_pack .pack_action_free{
        display: none;
    }

    #open_pack .pack_action .pack_action_free{
        display: block;
        margin-top: 0px;
    }

    #list_evens .box_item hr,
    #list_evens .box_item .rich_text_pack,
    #list_evens .box_item .pack_title {
        display: none;
    }

    #list_evens .box_item .btn.btn--pokemon {
        width: 100%;
    }

    #user-notify .notify-item {
        justify-content: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    #user-notify .notify-item>span {
        flex-direction: column;
        text-align: center;
    }

    #user-notify .notify-item .date {
        margin: 0px auto;
        flex: 0 0 25px;
        width: fit-content;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 710px) {
    #list_evens .box_item {
        padding-left: 10px;
    }

    #open_pack .pack_action .btn--pokemon{
        font-size: 20px;
    }
}

@media only screen and (min-width: 768px){
    #open_pack .open_pack_container{
        min-width: 768px;
    }
}

@media only screen and (min-width: 992px){
    #open_pack .open_pack_container{
        min-width: 992px;
    }
}

@media only screen and (min-width: 1200px){
    #open_pack .open_pack_container{
        min-width: 1200px;
    }
}

.responsive_modal .modal-content,
#modal_complete .modal-content,
#modal_confirm_update_result .modal-content {
    max-width: 95vw !important;
    min-height: 456px;
    min-width: 350px;
    height: unset;
}

.img-wp {
    width: 100%;
}



