﻿.input-blocker {
    pointer-events: none;
    opacity: 0.5;
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    color: rgba(255, 0, 0, 0.5);
    font-size: 4em;
    z-index: 1000;
}

.login-div, .main-div {
    font-family: 'Inter', sans-serif;
    color: #545454;
    font-family: 'Noto Sans Thai', sans-serif;
}

.logo-wrapper {
    width: 64px;
    height: 64px;
    margin: auto;
}

    .logo-wrapper img {
        width: 100%;
        height: 100%;
    }

.user-wrapper {
    width: 60px;
    max-height: 60px;
    background-color: #f3f1f1;
    border-radius: 50%;
    overflow: hidden;
}

    .user-wrapper i {
        color: white;
    }

.btn-status {
    width: 150px;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}

.cursor-pointer {
    cursor: pointer;
}

/* modal */
.called-wrapper {
    text-align: left;
    min-height: 650px;
    font-size: 1rem;
}

    .called-wrapper p {
        margin-bottom: 0;
    }

.text-red {
    color: red;
}

.text-green {
    color: green;
}

.gray-up {
    display: inline-block;
    border-radius: 5px;
    background-color: #E8E8E8;
    margin-bottom: 5px;
    margin-left: 5px;
    padding: 2px 10px;
}

.gray-tab {
    display: block;
    background-color: #E8E8E8;
    padding: 5px 10px;
    font-weight: bold;
    margin-bottom: .5rem !important;
}

.width-250px {
    width: 250px;
}

.width-275px {
    width: 275px;
}

.width-105px {
    width: 105px;
}

.btn-green {
    background-color: #DFF5DF !important;
    color: #018E2E !important;
}

.my-swal {
    z-index: 7777;
}

.red-tab {
    background-color: #f854574d;
}

main:has(.login-div[style="display:flex;"]) {
    background-image: url('/images/bg-ccp.png');
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

#ccp-div iframe {
    border-radius: 1rem;
}

.cpp-wrapper {
    position: relative;
    min-height: 480px;
}

.login-div {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#ccp-div {
    position: absolute;
}

.cpp-wrapper .image-wrapper {
    position: absolute;
    width: 640px;
    height: 460px;
}

.cpp-wrapper div {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.cpp-wrapper .image-wrapper img {
    height: 100%;
}

.login-div .logo-wrapper {
    width: 75px;
    height: auto;
}

    .login-div .logo-wrapper img {
        width: 100%;
        height: auto;
    }

.e-label {
    font-weight: bold !important;
    margin-bottom: .3rem !important;
}

.e-dialog .e-dlg-content {
    padding: 20px;
    padding-bottom: 2rem;
    position: relative;
}

.text-red {
    color: red;
}

.label-bold {
    margin-top: 1rem;
}

.call-status {
    position: absolute;
    bottom: 5px;
}

.btn-status {
    width: 150px;
}

.btn-filer {
    height: 35px;
    width: 150px;
}

.ccp-login-message {
    font-size: 1.5rem;
    text-align: center;
    display: block;
    margin: 10px 0;
    white-space: pre-wrap;
}

    .ccp-login-message a {
        color: blue;
        text-decoration: underline;
    }

    .ccp-login-message b {
        color: red;
        font-weight: bold;
    }

.full-screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0); /*transparent*/
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1500;
}

.required::after {
    content: '*';
    margin-right: 4px;
    margin-left: 2px;
    color: red;
}

.error-message {
    color: red;
}

.text-align-right{
    text-align: right;
}

.circle-icon {
    display: inline-block;
    background-color: white;
    color: black;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid black;
    cursor: pointer;
}