﻿@import url('https://fonts.googleapis.com/css2?family=Kanit&family=Prompt:wght@300;400&display=swap');

.cmsq-container {
    width: 100%;
    background-color: #9eb5ca;
    min-height: 100vh;
    padding-top: 80px;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background-color: #7defdc;
}

.header-container span {
    font-size: 20px;
    font-weight: 600;
}

.form-item-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.form-item-inline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 20px;
}

.cmsq-form-container {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: white;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 5px;
}

.text-header {
    font-size: 20px;
    font-weight: 600;
}

.form-item-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.form-item-btn button {
    width: 100px;
    margin-left: 5px;
    margin-right: 5px;
}

.act-container {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 10px;
    background-color: white;
    margin-top: 10px;
    padding: 15px;
    border-radius: 5px;
}

.act-item {
    display: flex;
    flex-direction: column;
    background-color: #fffcdb;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.act-name {
    text-align: left;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.act-img {
    display: flex;
    justify-content: space-between;
}

.act-img img {
    width: 80px;
    height: 80px;
}

.ai-value {
    width: 200px;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}

.ai-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.form-full-img {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-full-img img {
    width: 100%;
    height: 300px;
    margin-bottom: 10px;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.text-orange {
    color: orange !important;
}

.c-pointer {
    cursor:pointer;
}

.toggle {
    position: relative;
    cursor: pointer;
    display: flex;
    font-size: 1.875rem;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 70px;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 40px;
    user-select: none;
    -webkit-user-select: none;
}

.asterisk {
    color: red;
    font-size: 20px;
    font-weight: 600
}

.mob-user-list {
    display: none;
}

@media (min-width: 796px) {
    .cmsq-container {
        max-width: 600px;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 450px){
    .toggle-btn {
        display: none;
    }

    .cm2-page-container.active {
        padding-left: 0px !important;
    }

    .navbrand {
        width: 100%!important;
    }

    .inp {
        height: 40px !important;
        width: 300px !important;
    }

    .login-row {
        box-shadow: none !important;
    }

    .user-summary {
        flex-direction: column;
        margin-left: 70px;
    }

    .user-group {
        width: 90%;
        margin-bottom: 10px;
    }

    .ai-img-container {
        width: 280px !important;
        margin-left: 70px !important;
        transform: none !important;
    }

    .page-header {
        margin-left: 70px !important;
    }

    .act-container {
        margin-left: 0px;
        margin-right: 0px;
        padding: 0px;
    }

    .act-name {
        font-size: 14px;
        font-weight: 600;
    }

    .ai-value {
        width: 150px !important;
        display: flex;
        justify-content: space-between;
        font-size: 16px;
    }

    .cm2-page-container {
        padding-left: 0px !important;
    }

    .form-item-inline {
        font-size: 16px;
    }

    .text-header {
        font-size: 16px;
        font-weight: 500;
    }

    .form-button-group button {
        height: 40px !important;
    }

    .table-list {
        overflow-x: hidden !important;
        padding: 10px !important;
        font-size: 16px !important;
        margin-left: 50px !important;
        margin-right: 0px !important;
    }

    .mob-user-list {
        display: block!important;
    }

    .user-item {
        display: flex;
        justify-content: space-between;
        width: 300px;
        margin-bottom: 10px;
    }

    .user-info {
        width: 280px;
        font-size: 16px;
        background-color: #fce900;
    }

    .user-action {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
    }

    .user-list-table{
        display: none!important;
    }

    .panel-header button {
        width: 100px !important;
        font-size: 16px !important;
        height: 32px !important;
    }

    .form-user-img {
        margin-left: 50px!important;
    }

    .image-upload {
        margin-left: 200px!important;
    }

    .image-upload input[type=file] {
        margin-bottom: 10px!important;
    }

    .cm2-panel {
        border: none !important;
    }

    .cm2-panel-new {
        border: none !important;
        margin-left: 28px !important;
    }

    .form-user-info {
        width: 320px !important;
        margin-left: 28px !important;
        transform: none !important;
    }

    .form-button-group {
        margin-left: 50px!important;
    }

    .form-button-group button {
        width: 100px !important;
        font-size: 16px !important;
        margin-right: 10px !important;
    }

    .form-label-key {
        font-size: 16px!important;
    }

    .form-input-value {
        font-size: 16px!important;
    }
}