* {
    font-family: 'Poppins', 'Noto Sans Thai', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

:root {
    --main-bg-color: rgb(235, 235, 235);
    touch-action: pan-y;
    height: 100%
}



#pickPlayer td {
    text-align: center;
    font-weight: 500;
    justify-content: center;
    align-content: center;
}

#headingText td {
    text-align: right;
    padding-right: 6%;
    font-weight: 600;
}

.thName {
    text-align: center;
    display: inline-block;
    width: 60%;
}

.thRank {
    text-align: right;
}

th {
    text-align: center;
    font-weight: 900;
}

h1 {
    font-weight: 600;
    font-family: "DynaPuff", "Noto Sans Thai", sans-serif;
}

h3 {
    margin-top: 10px;
    font-weight: 600;
}

h4 {
    font-weight: 600;
}

h5 {
    margin: 0px;
    font-weight: 600;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

hr {
    margin: 0;
    width: 75%;
    margin-bottom: 10px;
}

.btn {
    background-color: DodgerBlue;
    border: none;
    color: white;
    padding: 12px 16px;
    cursor: pointer;
    margin: auto;
}

/* Darker background on mouse-over */
.btn:hover {
    background-color: #007ef9;
    color: white;
}

.btn.danger {
    background-color: rgb(224, 52, 52);
}

.bg-light {
    background-color: var(--main-bg-color) !important;
}

.btn-outline {
    background-color: transparent !important;
    color: inherit;
    transition: all .3s;
    border: 1px solid #428bca;
}

.btn-outline.active {
    background-color: DodgerBlue !important;
    color: white;
}

.btn-choose-mode:hover.active {
    background-color: DodgerBlue !important;
    color: white !important;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-choose-mode:hover {
    color: DodgerBlue !important;

}

.btn-choose-mode {
    padding: 5 10 5 10;
    margin: 5;
}




.my-input-text {
    width: 40%;
}

input[type="checkbox"] {
    height: 20px;
    width: 20px;
    transform: scale(1.4);
    margin-right: 10px;
}

input[type="text"] {
    font-weight: 600;
    border: 0px;
    border-bottom: 1px solid black;
    background-color: transparent;
    border-radius: 0;
}

input[type="text"]:focus {
    outline: none;
    border-bottom: 3px solid black;
}

input[type="text"]::placeholder {
    color: rgb(223, 223, 223);
}



.nav-tabs {
    border-bottom: 0px solid black;
}

/* li {
    width: 33.33%
} */

li:has(.active) {
    background-color: var(--main-bg-color) !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.nav-item .active {
    border-color: var(--main-bg-color) !important;
    background-color: var(--main-bg-color) !important;
    border-bottom: 1px var(--main-bg-color) !important;

}

.nav-link:hover {
    border: 0px;
}

.nav-item {
    background-color: white;
}

.nav-link {
    color: black !important;
    transition: none;
}

#choosePlayer,
#matching {
    border: 0px solid grey;
    border-radius: 10px;
    padding: 10px;
}

#choosePlayer {
    border-top-left-radius: 0px;
}

.team-container {
    padding: 5px;
    padding-bottom: 10px;
    margin: 5px;
    border-radius: 10px;
    width: 48%;
    background-color: white;
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
}

#mainContainer {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding-top: 10px;
}

.fa {
    font-size: 18px;
}


#pickPlayer td {
    width: 50%;
}



.fa-fw {
    width: auto;
}

/* Rating Star Widgets Style */
.rating-stars ul {
    list-style-type: none;
    padding: 0;
    display: inline;
}

.rating-stars ul>li.star {
    display: inline;
    cursor: pointer;
}

/* Idle State of the stars */
.rating-stars ul>li.star>i.fa {
    font-size: 1.5em;
    /* Change the size of the stars */
    color: #ccc;
    /* Color on idle state */
}

/* Hover state of the stars */
.rating-stars ul>li.star.hover>i.fa {
    color: #ffcd9c;
}

/* Selected state of the stars */
.rating-stars ul>li.star.selected>i.fa {
    color: #FF912C;
}



.matchMode {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    ;
}


.fa-info-circle {
    font-size: 18px;
    z-index: 100;
    cursor: pointer;
}

.fa-times-circle-o {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: -5;
    cursor: pointer;
    font-size: 22px;
}

.tooltip-info {
    display: none;
    position: absolute;
    background-color: white;
    border: 0px solid black;
    border-radius: 10px;
    z-index: 100;
    padding: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: all 0.5s;
    width: 350px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: -150px;
}

.tooltip-info span {
    font-size: 14px
}

.tooltip-info.active {
    display: block !important;
    ;
}

#qrcode-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Adjust the height as needed */
}

#qrcode {
    width: 128px;
    height: 128px;
}

#overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    /* Adjust the size of the overlay image as needed */
    height: 50px;
    /* Adjust the size of the overlay image as needed */
}

#overlayLoadingContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* semi-transparent black */
    z-index: 1100;
    /* higher than modals if needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading {
    text-align: center;
}

/* .modal-dialog-bottom {
    top: calc(100% - 300px);
} */