:root
p{
    margin-bottom: 0 !important;
}
.btn-icon-mint {
    width: 3.8rem !important;
    height: 3.8rem !important;
    --bs-btn-color: #239c45;
    --bs-btn-bg: #c7dfd3;
    --bs-btn-border-color: #c7dfd3;
    --bs-btn-hover-color: #239c45;
    --bs-btn-hover-bg: #c7dfd3;
    --bs-btn-hover-border-color: #c7dfd3;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #239c45;
    --bs-btn-active-bg: #c7dfd3;
    --bs-btn-active-border-color: #c7dfd3;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #239c45;
    --bs-btn-disabled-bg: #c7dfd3;
    --bs-btn-disabled-border-color: #c7dfd3;
}
.btn-icon-sky {
    width: 3.8rem !important;
    height: 3.8rem !important;
    --bs-btn-color: #2188b8;
    --bs-btn-bg: #c4e4f3;
    --bs-btn-border-color: #c4e4f3;
    --bs-btn-hover-color: #2188b8;
    --bs-btn-hover-bg: #c4e4f3;
    --bs-btn-hover-border-color: #c4e4f3;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #2188b8;
    --bs-btn-active-bg: #c4e4f3;
    --bs-btn-active-border-color: #c4e4f3;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #2188b8;
    --bs-btn-disabled-bg: #c4e4f3;
    --bs-btn-disabled-border-color: #c4e4f3;
}
.btn-icon-mango {
    width: 3.8rem !important;
    height: 3.8rem !important;
    --bs-btn-color: #d69900;
    --bs-btn-bg: #fff6cf;
    --bs-btn-border-color: #fff6cf;
    --bs-btn-hover-color: #d69900;
    --bs-btn-hover-bg: #fff6cf;
    --bs-btn-hover-border-color: #fff6cf;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #d69900;
    --bs-btn-active-bg: #fff6cf;
    --bs-btn-active-border-color: #fff6cf;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #d69900;
    --bs-btn-disabled-bg: #fff6cf;
    --bs-btn-disabled-border-color: #fff6cf;
}
.btn-icon-peach {
    width: 3.8rem !important;
    height: 3.8rem !important;
    --bs-btn-color: #bf2222;
    --bs-btn-bg: #ffebeb;
    --bs-btn-border-color: #ffebeb;
    --bs-btn-hover-color: #bf2222;
    --bs-btn-hover-bg: #ffebeb;
    --bs-btn-hover-border-color: #ffebeb;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #bf2222;
    --bs-btn-active-bg: #ffebeb;
    --bs-btn-active-border-color: #ffebeb;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #bf2222;
    --bs-btn-disabled-bg: #ffebeb;
    --bs-btn-disabled-border-color: #ffebeb;
}
/* Theme and Colors */
[data-bs-theme="light"] {
    --dashboard-title-text: #2d495a;
    --liststyle-bg: #ffffff;
    --shadows: #e0e0e0;
}
[data-bs-theme="dark"] {
    --dashboard-title-text: #f5f5f5;
    --liststyle-bg: #535353;
    --shadows: #363636;
}

/* dashboard */
.fw300 {
    font-weight: 300;
}

.fw500 {
    font-weight: 500;
}

.text-member{ 
    cursor: default;
    padding-top: .5em;
    color: var(--dashboard-title-text);
}
.member-liststyle {
    padding: 20px;
    min-height: 15.875rem;
    border-radius: 5px;
    background-color: var(--liststyle-bg);
    box-shadow:1.5px 2px 0 var(--shadows);
}
.stats-liststyle {
    padding: 20px;
    min-height: 7.188;
    border-radius: 5px;
    background-color: var(--liststyle-bg);
    box-shadow:1.5px 2px 0 var(--shadows);
}
.member-thumnail {
    max-width: 100%;
    min-height: 60px;
    max-height: 60px;
    object-fit: contain;
    vertical-align: middle;
}
.member-thumnail-placeholder {
    position: relative;
    display: block;
    min-height: 60px;
    max-height: 60px;
    max-width: 70px;
    background: linear-gradient(45deg,  #2d495a 0%, #37505f 100%);
    background-size: 200% 100%;
    animation: shimmer 5s infinite;
    overflow: hidden;
}


/* canvas and floating button*/
#billTAB td,
#deadTAB td {
    cursor: default;
    font-weight: 200 !important;
}

#infomation-text{
    color: var(--color-info-text);
    font-size:10px; 
    font-weight: 300;
}

.hr-main {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--main-text);
    font-weight: 300;
    margin: 20px 0 0 0;
    cursor: default;
}

.hr-main::before,
.hr-main::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--main-text);
    margin: 0 10px;
}

.shadow-bottom {
  position: fixed;
  bottom: -250px;
  left: 0;
  min-width: 100%;
  height: 75px;
  pointer-events: none; /* ไม่ให้บังปุ่มหรือกด */
  z-index: 9998;
}

.shadow-bottom::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: 0px -100px 250px rgba(0, 0, 0, .75);
}

.floating-container-left {
    position: fixed;
    bottom: 45%;
    left: 4%;
    justify-content: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-container {
    position: fixed;
    bottom: 8%;
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 999;
}

.floating-btn {
    height: 3.1rem !important;
    font-weight: 500;
    background-color: var(--color-btn-minimal);
    backdrop-filter: blur(45px);
    -webkit-backdrop-filter: blur(45px);
    cursor: pointer;
    transition: .15 ease,;
}

.floating-btn-red{
    background-color: rgba(172, 18, 18, 0.6) !important;
}

.fbtn-active {
    color: #fff !important;
    background-color: var(--color-btn-minimal-hover) !important;
}

.floating-btn:hover {
    transform: scale(1.15);
    color: #fff !important;
    font-weight: 600;
    background-color: var(--color-btn-minimal-hover);
}

.floating-btn-red:hover {
    background-color: rgba(238, 32, 32, 0.8) !important;
}

.floating-btn:active {
    border: 0;
    transform: scale(1.12);
    font-weight: 600;
    background-color: var(--color-btn-minimal-hover) !important;
}

.cpk-tooltip{
    --bs-tooltip-bg: rgb(100, 100, 100);
    --bs-tooltip-color: var(--bs-white);
}

@media (max-width: 600px) {
    .floating-container {
        left: 49%;
        bottom: 5%;
        transform: translateX(-51%);
        justify-content: center;
    }
    .floating-container-left {
        position: fixed;
        display: flex;
        flex-direction: row;
        left: 49%;
        bottom: 5%;
        transform: translateX(-51%);
        justify-content: center;
    }
}