:root {
    --core-color: #F95700;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.width-100percent {
    width: 100% !important;
}

.custom-loading {
    height: 15px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: solid var(--core-color);
    border-left-color: transparent;
    animation: Loading infinite 0.5s;
}

@keyframes Loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*===========================splashscreen css=============================*/

#hrms-splashscreen {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10000000;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #FFFFFF, #FFFFFF);
}

.hrms-ss-imgbox {
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
    animation: hrsslogo;
    animation-duration: 1s;
    animation-iteration-count: initial;
}

    .hrms-ss-imgbox .hr-ss-img {
        height: 100px;
        width: 200px;
        object-fit: contain;
    }

.hrms-ss-role {
    position: absolute;
    bottom: 0;
    left: 50%;
    top: 28%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 65px;
    animation: hrsstext;
    animation-duration: 1s;
    animation-iteration-count: initial;
}

.hrms-ss-bname {
    color: #f5c300 !important;
    font-family: "Kanit" !important;
    font-size: 28px !important;
    text-align: center;
    transform: translateY(-50%);
    text-shadow: #d3d0d0 0 0 1px, #fff 0 -1px 2px, #fff 0 -3px 2px, rgb(143 138 138 / 80%) 1px 2px 0px;
    font-weight: 900 !important;
}

.hrms-ss-allinone {
    font-weight: 400;
    letter-spacing: 5px;
    font-size: 17px;
    font-family: 'Lato' !important;
    width: 300px;
    text-align: center;
    color: #939292;
    margin-top: -18px;
}

#hrms-ss-resoure {
    display: flex;
    gap: 5px;
    width: 200px;
    justify-content: center;
    margin-top: 10px;
    min-height: 20px;
}

.hrms-ss-res-content {
    color: #979797;
    font-size: 14px;
    width: 200px;
    text-align: center;
    height: 22px;
    overflow: hidden;
}

.hrms-ss-res-content {
}

.hrms-ss-prograss-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    top: 32%;
    transform: translate(-50%, 110%);
    height: 65px;
    animation: hrssresloading;
    animation-duration: 1s;
    animation-iteration-count: initial;
}

.hrms-ss-loading {
    text-align: center;
    margin-top: 5px;
}

    .hrms-ss-loading span {
        display: inline-block;
        margin: 0px 1px;
        width: 20px;
        height: 20px;
        border-radius: 2px;
        background-color: var(--core-color);
    }

        .hrms-ss-loading span:nth-child(1) {
            -webkit-animation: loading 0.5s infinite alternate 0s;
            -moz-animation: loading 0.5s infinite alternate 0s;
            -ms-animation: loading 0.5s infinite alternate 0s;
            -o-animation: loading 0.5s infinite alternate 0s;
            animation: loading 0.5s infinite alternate 0s;
        }

        .hrms-ss-loading span:nth-child(2) {
            -webkit-animation: loading 0.5s infinite alternate 0.2s;
            -moz-animation: loading 0.5s infinite alternate 0.2s;
            -ms-animation: loading 0.5s infinite alternate 0.2s;
            -o-animation: loading 0.5s infinite alternate 0.2s;
            animation: loading 0.5s infinite alternate 0.2s;
        }

        .hrms-ss-loading span:nth-child(3) {
            -webkit-animation: loading 0.5s infinite alternate 0.4s;
            -moz-animation: loading 0.5s infinite alternate 0.4s;
            -ms-animation: loading 0.5s infinite alternate 0.4s;
            -o-animation: loading 0.5s infinite alternate 0.4s;
            animation: loading 0.5s infinite alternate 0.4s;
        }

        .hrms-ss-loading span:nth-child(4) {
            -webkit-animation: loading 0.5s infinite alternate 0.6s;
            -moz-animation: loading 0.5s infinite alternate 0.6s;
            -ms-animation: loading 0.5s infinite alternate 0.6s;
            -o-animation: loading 0.5s infinite alternate 0.6s;
            animation: loading 0.5s infinite alternate 0.6s;
        }

@-webkit-keyframes loading {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes loading {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes loading {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes loading {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes loading {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes hrsstext {
    0% {
        transform: translate(-50%, -315%) scale(0);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -315%) scale(1);
        opacity: 1;
    }
}

@keyframes hrsslogo {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes hrssresloading {
    0% {
        transform: translate(-50%, 110%) scale(0);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, 110%) scale(1);
        opacity: 1;
    }
}

/*===========================splashscreen css=============================*/


.loader {
    position: relative;
    width: 60px;
    height: 60px;
}

/* Outer ring */
.outer-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 6px solid #F95700;
    border-top-color: #F95700;
    border-right-color: #F95700;
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation: spin 1.2s linear infinite;
}

/* Inner ring */
.inner-ring {
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    border: 6px solid #ff8923;
    border-top-color: #ff8923;
    border-right-color: #ff8923;
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation: spin-reverse 1.2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}






.bar {
    width: 230px;
    height: 26px;
    border: 3px solid #ff8923;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    margin-top: 5px;
}

/* Moving liquid blob */
.liquid {
    position: absolute;
    width: 60px;
    height: 20px;
    background: #F95700;
    border-radius: 50px;
    top: 0px;
    left: 3px;
    animation: move 2s ease-in-out infinite;
    box-shadow: 0 0 2px #F95700, 0 0 30px rgba(249, 87, 0, 0.5);
}

@keyframes move {
    0% {
        left: 3px;
    }

    50% {
        left: calc(100% - 60px);
    }

    100% {
        left: 3px;
    }
}

/* ======================= THA Printer setting ======================== */

.printer-option-btn-selected {
    background: white !important;
}

.printer-option-btn {
    border-radius: 50px;
    width: 100px;
    border: none;
    height: 50px;
    background: none;
}

.printer-option-btn-container {
    width: 300px;
    margin-left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    padding: 5px;
    background: #c9c9c9;
    border-radius: 50px;
}

.information-container {
    max-width: 500px;
    margin: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: center;
    border-radius: 20px;
    margin-left: 50%;
    transform: translateX(-50%);
    min-width: 350px;
    width: calc(100% - 20px);
    background: white;
}

.setting-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0px;
    background: none !important;
}

.unit {
    font-weight: normal;
    margin-left: 5px;
}

.setting-header {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    color: var(--core-color);
    margin-bottom: 20px;
}

.pick-btn {
    width: 130px;
    text-align: end !important;
    border: solid #c9c9c9;
    padding: 10px;
    border-radius: 5px;
}

.printer-setting-container {
    height: calc(100vh - 50px);
    overflow-y: auto;
    padding-top: 10px;
}

.setting-menu-btn {
    border: none;
    background: none;
}

.copy-entry {
    text-align: end;
    border: solid #c9c9c9;
    padding: 10px;
    border-radius: 5px;
    max-width: 110px;
}

.print-history-container {
    width: calc(100vw);
    height: calc(100vh);
    overflow-x: hidden;
    animation: fadeInPrintedView 0.2s ease;
    border: none;
    position: absolute;
    top: 0;
    background: white;
    z-index: 1000;
}

@keyframes fadeInPrintedView {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

.printed-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.printed-view-close-bth {
    text-align: center;
}

.printed-list-container {
    height: calc(100% - 44px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-container {
    height: calc(100% - 85px);
}

.print-data-view {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.print-history-date-view {
    font-size: 14px;
    font-weight: bold;
}

.printed-view-image {
    max-width: 100%;
    border: solid #c9c9c9;
    border-radius: 5px;
}

.printed-view-nodata {
    font-size: 30px;
    font-weight: bold;
    color: gray;
    text-align: center;
    margin-top: 100px;
}

.print-preview-switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.view-switch-container {
    height: 41px;
    display: flex;
    gap: 0px;
    justify-content: start;
    align-items: center;
}

/*.print-test-btn {
    background: none;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    width: 150px;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    height: 48px;
    justify-content: center;
}*/
/*======================== THA Printer setting END =====================*/

