body {
    font-family: "Noto Sans Thai", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background-color: rgba(248, 249, 250, 1);
}

.bg-disabled {
    background-color: #e9ecef;
}

.select-placeholder {
    text-align: center;
    text-align-last: center;
    -moz-text-align-last: center;
    -ms-text-align-last: center;
    /* display: none; */
    color: gray;
}

.input-time-center {
    text-align: center;
    text-align-last: center;
    -moz-text-align-last: center;
    -ms-text-align-last: center;
    /* display: none; */
}

.auditor-select {
    background-color: white;
}

.checkbox-lg {
    font-size: 1.5em !important;
    cursor: pointer !important;
    border-radius: 1.5em !important;
}

.checkbox-info-lg {
    font-size: 1.5em !important;
    border-radius: 1.5em !important;
    --bs-form-check-bg-image: none !important;
}

.checkbox-info {
    font-size: 1em !important;
    border-radius: 1.5em !important;
    --bs-form-check-bg-image: none !important;
}

/* toggle switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    /* cursor: pointer; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:disabled {
    cursor: not-allowed;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #2196f3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/* -------------------------------------------------------------------- */

/* notification */
.icon-button__badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: red;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.bg-glass {
    background: linear-gradient(135deg, rgb(242, 242, 242, 0.5), rgba(255, 255, 255, 0));
    /* backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(10px); */
    /* border:1px solid rgba(255, 255, 255, 0.18); */
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
}

.bg-card {
    background: linear-gradient(135deg, rgb(200, 216, 228, 1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(10px);
    /* border:1px solid rgba(255, 255, 255, 0.18); */
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.37);
}

/* -------------------------------------------------------------------- */

/* table */
.tbl-header-auditor {
    background-color: rgba(255, 193, 7, 0.5);
}
.tbl-header-lab {
    background-color: rgba(13, 110, 253, 0.5);
}
.tbl-body-auditor {
    background-color: rgba(255, 193, 7, 0.2);
}
.tbl-body-lab {
    background-color: rgba(13, 110, 253, 0.2);
}

/* scrollbar */
.scrollbar {
    overflow: auto;
    line-height: 1em;
}

.scrollbar::-webkit-scrollbar {
    -webkit-appearance: none;
}

.scrollbar::-webkit-scrollbar:vertical {
    width: 11px;
}

.scrollbar::-webkit-scrollbar:horizontal {
    height: 11px;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, 0.5);
}

page {
    background: white;
    display: block;
    margin: 0.5cm auto;
    box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5);
    padding: 1.43cm, 2cm, 2.25cm, 2.25cm;
}
page[size="A4"] {
    width: 21cm;
    height: 29.7cm;
}

.A4paper {
    width: 21cm;
    height: 29.7cm;

    background: white;
    display: block;
    margin: 0.5cm auto;
    box-shadow: 0 0 0.5cm rgba(0, 0, 0, 0.5);
    padding: 1.43cm, 2cm, 2.25cm, 2.25cm;
}

.sarabun-thin {
    font-family: "Sarabun", serif;
    font-weight: 100;
    font-style: normal;
}

.sarabun-extralight {
    font-family: "Sarabun", serif;
    font-weight: 200;
    font-style: normal;
}

.sarabun-light {
    font-family: "Sarabun", serif;
    font-weight: 300;
    font-style: normal;
}

.sarabun-regular {
    font-family: "Sarabun", serif;
    font-weight: 400;
    font-style: normal;
}

.sarabun-medium {
    font-family: "Sarabun", serif;
    font-weight: 500;
    font-style: normal;
}

.sarabun-semibold {
    font-family: "Sarabun", serif;
    font-weight: 600;
    font-style: normal;
}

.sarabun-bold {
    font-family: "Sarabun", serif;
    font-weight: 700;
    font-style: normal;
}

.sarabun-extrabold {
    font-family: "Sarabun", serif;
    font-weight: 800;
    font-style: normal;
}

.sarabun-thin-italic {
    font-family: "Sarabun", serif;
    font-weight: 100;
    font-style: italic;
}

.sarabun-extralight-italic {
    font-family: "Sarabun", serif;
    font-weight: 200;
    font-style: italic;
}

.sarabun-light-italic {
    font-family: "Sarabun", serif;
    font-weight: 300;
    font-style: italic;
}

.sarabun-regular-italic {
    font-family: "Sarabun", serif;
    font-weight: 400;
    font-style: italic;
}

.sarabun-medium-italic {
    font-family: "Sarabun", serif;
    font-weight: 500;
    font-style: italic;
}

.sarabun-semibold-italic {
    font-family: "Sarabun", serif;
    font-weight: 600;
    font-style: italic;
}

.sarabun-bold-italic {
    font-family: "Sarabun", serif;
    font-weight: 700;
    font-style: italic;
}

.sarabun-extrabold-italic {
    font-family: "Sarabun", serif;
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: "THSarabunNew";
    src: url(../fonts/THSarabunNew/THSarabunNew.ttf);
}

.not-allowed {
    pointer-events: auto !important;
    cursor: not-allowed;
}

.pointer {
    cursor: pointer;
}

