.page_container{
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page_tab{
    width: 80%;
    height: 50px;
    display: flex;
    align-items: flex-end;
}
.tab_btn {
    padding: 8px 16px;
    border: none;
    background: #e0e0e0;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    height: 40px;
    margin-right: .3rem;
}

.tab_btn.active {
    background: #3b82f6;
    color: #fff;
}

.tab_btn#tabLogout {
    background: #ef4444;
    color: #fff;
}

.tab_btn:hover {
    opacity: 0.85;
}
.page{
    width: 80%;
    height: 100%;
    border: 1px solid #EEE;
    box-shadow: 3px 0 8px 0px #e9e9e9;
    scrollbar-width: none;
}
::-webkit-scrollbar {
  display: none;
}
.login_page{
    height: 100%;
    display: flex;
    align-items: center;
}
.login_page_container{
    padding-inline:10%
}
.survey_page, .analytic_page{
    height: 100%;
    padding-block: 20px;
    overflow-y: scroll;
}
.card h6 { font-weight: 600; font-size: 0.95rem; }
.fraction { font-family: monospace; font-size: 0.9rem; }
.card { border: 0; border-radius: 0.75rem; }
.progress { background: rgba(0,0,0,0.05); border-radius: .5rem; }
.progress-bar { transition: width .5s ease; }
/* @media (max-width: 576px){
  .card { min-height: 120px; }
} */
.login_container {
    border: 1px solid #eee;
    border-radius: 10px;
    padding-block: 1.5rem;
    padding-inline: 2rem;
}
.login_container div.login_input {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    align-items: center;
}
.login_container input {
    width: 80%;
}
.login_header{
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.category_card {
    margin-inline: 1rem;
    padding: 1.5rem;
    border-top: 2px solid #EEE;
    position: relative;
    display: flex;
    flex-direction: column;
}
.card-title-custom {
    position: absolute;
    top: -.8em;
    font-weight: bold;
    font-size: 24px;
    background-color: white;
    padding-inline: 15px;
}
.card-question {
    display: flex;
    margin-block: 1em;
}
.card-number {
    font-weight: bold;
    margin-right: 1em;
}
.question_text {
    margin-bottom: 1em;
}
.card-content{
    width: 100%;
}
.card-rating {
    border: 1px solid black;
}
.card-rating tr {
    vertical-align: middle;
}
td.radio_td:hover {
    background-color: #e2ecf3;
}
td.radio_td {
    text-align: center;
    cursor: pointer;
    font-size: 1.3em;
    padding-block: 0;
}
td.radio_td input {
    margin-right: 10px;
}
.footer_page {
    margin-inline: 1rem;
    padding-inline: 1.5rem;
    text-align: right;
}

.loading_spinner{
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.black_screen{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #00000069;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;    
    height: 100vh;
    color: white;
}

.is_reversed .radio_td:has(input[value="1"]:checked) {
    background-color: #34c7595c;
}

.is_reversed .radio_td:has(input[value="2"]:checked) {
    background-color: #aadd555c;
}

.is_reversed .radio_td:has(input[value="3"]:checked) {
    background-color: #ffdd555c;
}

.is_reversed .radio_td:has(input[value="4"]:checked) {
    background-color: #ff99555c;
}

.is_reversed .radio_td:has(input[value="5"]:checked) {
    background-color: #ff3b305c;
}


.radio_td:has(input[value="1"]:checked) {
    background-color: #ff3b305c;
}

.radio_td:has(input[value="2"]:checked) {
    background-color: #ff99555c;
}

.radio_td:has(input[value="3"]:checked) {
    background-color: #ffdd555c;
}

.radio_td:has(input[value="4"]:checked) {
    background-color: #aadd555c;
}

.radio_td:has(input[value="5"]:checked) {
    background-color: #34c7595c;
}


.analytic_header {
    height: 10%;
    display: flex;
}
.analytic_content {
    height: 40%;
    display: flex;
    border: 2px solid #eee;
    overflow-y: scroll;
}
.analytic_footer {
    height: 50%;
    display: flex;
}

.analytic_header .header_block{
    width: 50%;
    height: 100%;
    display: flex;
    /* align-items: center; */
    padding: 1rem;
}
.analytic_header .header_block.analytic_employee{
    padding-block: 0;
    flex-direction: column;
    justify-content: space-between;
}

.analytic_filter {
        justify-content: flex-end;
}

.analytic_filter .filter_block {
    width: 50%;
    display: flex;
    align-items: center;
}

.empty_state_container{
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.empty_state_icon span{
    font-size: 4rem;
}

.empty_state_title{
    font-weight: bold;
    font-size: 1.5rem;
}


#chartdiv {
    width: 70%;
    height: 100%;
}
#tableResult {
    width: 30%;
    height: 100%;
    border: 1px solid #EEE;
    overflow-y: auto;
}

@media only screen and (max-width: 768px) {
    .page {
        width: 90%;
    }
    .login_page_container{
        padding-inline:5%
    }
    .category_card {
        padding-inline: 0;
    }
    .card-number{
        display: none;
    }
    .card-rating .table td{
        font-size: .8em !important;
    }
    .card-rating .table td.radio_td{
        padding: 0;
    }
    .login_container {
        padding-inline: 1rem;
    }
    .login_container input {
        width: 60%;
    }
    .analytic_filter .filter_block {
        width: 100%;
    }
    .analytic_content tr{
        vertical-align: middle;
    }
    /* #chartdiv {
        padding: 10px;
    } */
}