@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
    --primary: #00c950;
    --secondary: #4b5563;
    --primary-light: #d3d3d9;
    --light-green: #e8f6eb;
}
body {
    background-color: #eee;
    color: #444;
    font-family: 'Montserrat', 'Noto Serif Khmer',  sans-serif;
    font-size: 14px;
    background: linear-gradient(135deg, #f2f4f8, #e6f0ea);
    overflow-x: hidden;
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--green);
}

.h-55px {
    min-height: 55px;
}

.alert {
    border-radius: 16px !important;
}

/* Gradient Blur Circles */
.blur-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: 0;
    opacity: 0.5;
    position: fixed;
}
.circle-center-left {
    top: 50%;
    left: -140px;
    background: radial-gradient(circle at center, #00c950, #ffffff);
}

.circle-bottom-right {
    bottom: 40%;
    right: -140px;
    background: radial-gradient(circle at center, #00c950, #ffffff);
}

.action-button {
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s;
}
.action:hover .action-button{
    visibility: visible;
    opacity: 1;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}

.badge.badge-light {
    background: #eeeee8;
}
.badge.badge-orange {
    background-color: var(--orange);
}

.badge.badge-primary {
    background-color: var(--primary);
}

.min-w-100 {
    min-width: 100px;
}

.c-pointer {
    cursor: pointer;
}

.fz-12{
    font-size: 12px;
}
.fz-14{
    font-size: 14px;
}

.fz-16{
    font-size: 16px;
}
.fz-18{
    font-size: 18px;
}
.fz-20{
    font-size: 20px;
}

.fz-22{
    font-size: 22px;
}

.fz-24{
    font-size: 24px;
}

.fz-26{
    font-size: 26px;
}

.border-wide-3 {
    border-width: 3px !important;
}
fieldset {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow:  0px 0px 0px 0px #000;
    box-shadow:  0px 0px 0px 0px #000;
}

legend {
    width:inherit; /* Or auto */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
}

.dropdown .dropdown-menu .dropdown-item.active {
    color: #00c950;
    background-color: #e8f6eb;
}


pre {
    background-color: #eee;
}

.right-0 {
    right: 0 !important;
}
.left-0 {
    left: 0 !important;
}
.top-0 {
    top: 0 !important;
}
.bottom-0 {
    bottom: 0 !important;
}

.custom.pagination .page-link{
    border: 1px solid #eee;
    height: 35px;
}

a:hover {
    text-decoration: none;
}

.btn-delete {
    cursor: pointer;
}

.container-fluid {
    /*padding-top: 15px;*/
}
.btn {
    padding: 4px 10px;
}
.btn-primary,
.bg-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary);
    transition: all 0.4s;
}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,
.bg-primary:hover {
    border-color: var(--primary) !important;
    outline-color: var(--primary) !important;
    box-shadow: none !important;
    background-color: var(--green) !important;
}

.btn.btn-mini-sm {
    padding: 2px 5px;
}

.btn.btn-outline-primary {
    border-color: var(--primary);
}
.btn.btn-outline-primary:hover {
    background-color: var(--primary);
}

.text-prmary {
    color: var(--primary) !important;
}

.icon-menu-bar {
    font-size: 20px;
    position: relative;
    top: 3px;
    cursor: pointer;
}

#dropdownMenuButton {
    color: #fff;
}

#top-header {
    height: 70px;
    background-color: #374151;
    padding: 20px;
    position: fixed;
    z-index: 6;
    width: 100%;
}

#top-header .brand a {
    color: #fff;
    position: absolute;
    top: 22px;
    font-family: 'Khmer OS Muol Light';
    font-weight: 400;
}
#top-header .brand span {
    background-color: #9ca3af;
}


#main-warpper.show-left-menu #left-menu {
    width: 20%;
    width: 300px;
}

@media screen and (min-width: 1024px) {
    #main-warpper.show-left-menu #left-menu {
        left: 0;
    }

    #main-warpper.show-left-menu #content {
        /*width: 80%;*/
        /*width: calc(100% - 300px);*/
        margin-left: auto;
    }
}

    #main-warpper #content {
        /*padding-right: 1%;*/
    }



@media screen and (max-width: 1024px) {
    #main-warpper.show-left-menu #content {
        width: 100%;
        margin-left: 0;
    }

    #main-warpper.small-left-menu #left-menu {
        width: 300px;
        left: 0;
    }
}

#left-menu,
#content {
    padding-top: 25px;
    transition: all 0.4s;
    /*padding-top: 85px;*/
}

#content {
    padding-bottom: 1%;
}

#left-menu {
    width: 20%;
    z-index: 5;
    left: -600px;
    height: 100vh;
    background-color: #1f2937;
    position: fixed;
    /*box-shadow: 10px 15px 40px #e9edf1;*/
    overflow-y: auto;
}

#left-menu ul {
    padding: 0 10px;
    margin: 0;
}

#left-menu ul li {
    list-style: none;
    position: relative;
    margin: 5px 0;
}

#left-menu ul li.active span {
    color: #ffc107;
}

#left-menu ul li.active > a {
    color: #f2f4f6;
    background-color: #374151;
    border-radius: .5rem;
}

#left-menu ul li a {
    padding: 10px 0;
    padding-left: 20px;
    color: #fff;
    display: inline-block;
    width: 100%;
    font-size: 16px;
}

#left-menu ul li a span {
    margin-right: 10px;
    font-size: 20px;
    position: relative;
    top: 1px;
    width: 25px;
    color: #9ca3af;
}

#left-menu ul li.sub-menu {
    position: relative;
}
#left-menu ul li.sub-menu ul{
    display: none;
}

#left-menu ul li.sub-menu i {
    position: absolute;
    right: 15px;
    top: 18px;
}

#left-menu ul li.sub-menu ul {
    background-color: #f0f2f5;
    margin-left: -3px;
}

#left-menu ul li.sub-menu ul li {
    margin-left: 12%;
}

#left-menu ul li.sub-menu ul li a {
    padding: 10px 0;
    padding-left: 20px;
}


#content {
    width: 100%;
}

/*
============ CARD ===========
*/

.border-left-1 {
    border-left: 1px solid #ddd ;
}

.card {
    /*    border: 1px solid #eff3f7 !important;*/
    border: 1px solid #efefef;
    margin: 0;
    margin-bottom: 30px;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /*overflow-x: auto;*/
    height: 100%;
    width: 100%;
    display: inline-block;
}
.card.with-card-footer {
    padding-bottom: 15px;
}
.card.main {
    margin: -5px;
    padding: 0;
    border: 1px solid #efefef;
}
.card.main .card-title {
    border-bottom: 0;
    margin: 0;
    padding: 0;
}
.card.main .card-body {
    padding: 10px 20px;
}
.card.main .card-body .card-title h3 {
    margin: 0;
}
.card.form{
    margin-bottom: 100px;
}

.card::after {
    content: '';
    width: 90%;
    height: 10px;
    z-index: -1;
    position: relative;
    left: 5%;
    box-shadow: 0 5px 50px #d5dadf;
}

.card .card-title {
    border-bottom: 1px solid #dde6eb;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #000;
}
.card .card-title h3{
    position: relative;
    top: 3px;
    font-size: 18px;
}

.card .card-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #f1f1f1;
    z-index: 3;
}

/*
============ END CARD ===========
*/

/*
=========== SWITCH ==========
*/

.switch-box {
    display: block;
    margin-top: 24px;
}

.switch-box label {
    margin-bottom: 0;
    cursor: pointer;
}

.switch-box .switch-box-slider {
    position: relative;
    display: inline-block;
    height: 8px;
    width: 32px;
    background: #d5d5d5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.switch-box .switch-box-slider:after {
    position: absolute;
    left: -8px;
    top: -8px;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eeeeee;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
    content: '';
    transition: all 0.2s ease;
}

.switch-box .switch-box-input {
    display: none;
}

.switch-box .switch-box-input ~ .switch-box-label {
    margin-left: 8px;
}

.switch-box .switch-box-input:checked ~ .switch-box-slider:after {
    left: 16px;
}

.switch-box .switch-box-input:disabled ~ .switch-box-slider {
    background: #e2e2e2;
    cursor: default;
}

.switch-box .switch-box-input:disabled ~ .switch-box-slider:after {
    background: #d5d5d5;
}

.switch-box.primary .switch-box-input:checked:not(:disabled) ~ .switch-box-slider {
    background: var(--primary);
}

.switch-box.primary .switch-box-input:checked:not(:disabled) ~ .switch-box-slider:after {
    background: var(--primary);
}

.switch-box.info .switch-box-input:checked:not(:disabled) ~ .switch-box-slider {
    background: #03b9ce;
}

.switch-box.info .switch-box-input:checked:not(:disabled) ~ .switch-box-slider:after {
    background: #00b0c4;
}

.switch-box.success .switch-box-input:checked:not(:disabled) ~ .switch-box-slider {
    background: #54d98c;
}

.switch-box.success .switch-box-input:checked:not(:disabled) ~ .switch-box-slider:after {
    background: #2ecc71;
}

.switch-box.danger .switch-box-input:checked:not(:disabled) ~ .switch-box-slider {
    background: #ed7669;
}

.switch-box.danger .switch-box-input:checked:not(:disabled) ~ .switch-box-slider:after {
    background: #e74c3c;
}

.switch-box.warning .switch-box-input:checked:not(:disabled) ~ .switch-box-slider {
    background: #eb9950;
}

.switch-box.warning .switch-box-input:checked:not(:disabled) ~ .switch-box-slider:after {
    background: #e67e22;
}

/*
============ END SWITCH =========
*/

/*
=========== CHECK BOX ==========
*/

.checkbox {
    display: inline-block;
    /* padding: 10px 20px; */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.checkbox label {
    cursor: pointer;
    padding-left: 0;
}

.checkbox input[type=checkbox] {
    opacity: 0;
    position: absolute;
    margin: 0;
    z-index: -1;
    width: 0;
    height: 0;
    overflow: hidden;
    left: 0;
    pointer-events: none;
}

.checkbox .checkbox-material {
    vertical-align: middle;
    position: relative;
    top: 0;
}

.checkbox .checkbox-material:before {
    position: absolute;
    left: 8px;
    top: 2px;
    content: "";
    background-color: rgba(0, 0, 0, 0.5);
    height: 4px;
    width: 4px;
    border-radius: 100%;
    z-index: 1;
    opacity: 0;
    margin: 0;
}

.checkbox .checkbox-material .check {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid;
    border-radius: 2px;
    overflow: hidden;
    z-index: 1;
}

.checkbox .checkbox-material .check:before {
    position: absolute;
    content: "";
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    display: block;
    margin-top: -4px;
    margin-left: 6px;
    width: 0;
    height: 0;
    box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0 inset;
    -webkit-animation: checkbox-off 0.3s forwards ease-out;
    animation: checkbox-off 0.3s forwards ease-out;
}

.checkbox input[type=checkbox]:focus + .checkbox-material .check:after {
    opacity: 0.2;
}

.checkbox input[type=checkbox]:checked + .checkbox-material .check:before {
    box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px;
    -webkit-animation: checkbox-on 0.3s forwards ease-out;
    animation: checkbox-on 0.3s forwards ease-out;
}

.checkbox input[type=checkbox]:not(:checked) + .checkbox-material:before {
    -webkit-animation: rippleOff 700ms forwards ease-out;
    animation: rippleOff 700ms forwards ease-out;
}

.checkbox input[type=checkbox]:checked + .checkbox-material:before {
    -webkit-animation: rippleOn 700ms forwards ease-out;
    animation: rippleOn 700ms forwards ease-out;
}

.checkbox input[type=checkbox]:not(:checked) + .checkbox-material .check:after {
    -webkit-animation: rippleOff 700ms forwards ease-out;
    animation: rippleOff 700ms forwards ease-out;
}

.checkbox input[type=checkbox]:checked + .checkbox-material .check:after {
    -webkit-animation: rippleOn 700ms forwards ease-out;
    animation: rippleOn 700ms forwards ease-out;
}

.checkbox input[type=checkbox][disabled]:not(:checked) ~ .checkbox-material .check:before,
.checkbox input[type=checkbox][disabled] + .circle {
    opacity: 0.5;
}

.checkbox input[type=checkbox][disabled] + .checkbox-material .check {
    background-color: lightgray;
    border: 2px solid rgb(206, 206, 206);
}

.coloured .checkbox-material .check {
    color: var(--primary);
}

.coloured .checkbox-material:before {
    background-color: var(--primary);
}

.coloured input[type=checkbox]:checked + .checkbox-material .check {
    color: var(--primary);
}


.coloured.danger .checkbox-material .check {
    color: #dc3545;
}

.coloured.danger .checkbox-material:before {
    background-color: #dc3545;
}

.coloured.danger input[type=checkbox]:checked + .checkbox-material .check {
    color: #dc3545;
}

.coloured.warning .checkbox-material .check {
    color: #ffc107;
}

.coloured.warning .checkbox-material:before {
    background-color: #ffc107;
}

.coloured.warning input[type=checkbox]:checked + .checkbox-material .check {
    color: #ffc107;
}


@-webkit-keyframes checkbox-on {
    0% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px;
    }

    50% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px 2px 0 11px;
    }

    100% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px;
    }
}

@keyframes checkbox-on {
    0% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px;
    }

    50% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px 2px 0 11px;
    }

    100% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px;
    }
}

@-webkit-keyframes checkbox-off {
    0% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset;
    }

    25% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset;
    }

    50% {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        margin-top: -4px;
        margin-left: 6px;
        width: 0px;
        height: 0px;
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset;
    }

    51% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        margin-top: -2px;
        margin-left: -2px;
        width: 20px;
        height: 20px;
        box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0px 0 10px inset;
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        margin-top: -2px;
        margin-left: -2px;
        width: 20px;
        height: 20px;
        box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0px 0 0px inset;
    }
}

@keyframes checkbox-off {
    0% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset;
    }

    25% {
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 20px -12px 0 11px, 0 0 0 0 inset;
    }

    50% {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        margin-top: -4px;
        margin-left: 6px;
        width: 0px;
        height: 0px;
        box-shadow: 0 0 0 10px, 10px -10px 0 10px, 32px 0px 0 20px, 0px 32px 0 20px, -5px 5px 0 10px, 15px 2px 0 11px, 0 0 0 0 inset;
    }

    51% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        margin-top: -2px;
        margin-left: -2px;
        width: 20px;
        height: 20px;
        box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0px 0 10px inset;
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        margin-top: -2px;
        margin-left: -2px;
        width: 20px;
        height: 20px;
        box-shadow: 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0 0 0 0, 0px 0px 0 0px inset;
    }
}

@-webkit-keyframes rippleOn {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(13, 13);
        transform: scale(13, 13);
    }
}

@keyframes rippleOn {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(13, 13);
        transform: scale(13, 13);
    }
}

@-webkit-keyframes rippleOff {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(13, 13);
        transform: scale(13, 13);
    }
}

@keyframes rippleOff {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(13, 13);
        transform: scale(13, 13);
    }
}

/*
============ END CHECK BOX ==========
*/

/*
============ RADIO =================
*/

.form-check {
    padding-left: 0;
}

.form-check .form-check-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-left: 35px;
    line-height: 26px;
    margin-bottom: 0;
    transition: color .3s linear;
}

.form-check-radio input[type=radio],
.form-check-radio input[type=radio] + .form-check-sign:after {
    opacity: 0;
}

.form-check-radio .form-check-sign:after,
.form-check-radio .form-check-sign:before {
    content: " ";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #a7a7a7;
    display: inline-block;
    position: absolute;
    left: 3px;
    top: 3px;
    padding: 1px;
    transition: opacity .3s linear;
}

.form-check-radio input[type=radio]:checked + .form-check-sign:after {
    width: 10px;
    height: 10px;
    background-color: #a7a7a7;
    border-color: #a7a7a7;
    top: 8px;
    left: 8px;
    opacity: 1;
}

.form-check-radio.primary .form-check-sign:after,
.form-check-radio.primary .form-check-sign:before {
    border: 1px solid var(--primary);
}

.form-check-radio.primary input[type=radio]:checked + .form-check-sign:after {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-radio.danger .form-check-sign:after,
.form-check-radio.danger .form-check-sign:before {
    border: 1px solid #dc3545;
}

.form-check-radio.danger input[type=radio]:checked + .form-check-sign:after {
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-check-radio.warning .form-check-sign:after,
.form-check-radio.warning .form-check-sign:before {
    border: 1px solid #ffc107;
}

.form-check-radio.warning input[type=radio]:checked + .form-check-sign:after {
    background-color: #ffc107;
    border-color: #ffc107;
}

/*
=========== END RADIO ==============
*/

/*
=========== BUTTON ===========
*/

.btn-rounded {
    border-radius: 10em;
}

.btn-warning.btn-gradient {
    color: #fff;
    background: -webkit-linear-gradient(50deg, #ffd86f, #fc6262) !important;
    background: -o-linear-gradient(50deg, #ffd86f, #fc6262) !important;
    background: linear-gradient(40deg, #ffd86f, #fc6262) !important;
    border: 1px solid -webkit-linear-gradient(50deg, #ffd86f, #fc6262) !important;
    border: 1px solid -o-linear-gradient(50deg, #ffd86f, #fc6262) !important;
    border: 1px solid linear-gradient(40deg, #ffd86f, #fc6262) !important;
}

.btn-success.btn-gradient {
    color: #fff;
    background: -webkit-linear-gradient(87deg, #2dce89 0, #2dcecc 100%)!important;
    background: -o-linear-gradient(87deg, #2dce89 0, #2dcecc 100%)!important;
    background: linear-gradient(87deg, #2dce89 0, #2dcecc 100%)!important;
    border: 1px solid -webkit-linear-gradient(87deg, #2dce89 0, #2dcecc 100%)!important;
    border: 1px solid -o-linear-gradient(87deg, #2dce89 0, #2dcecc 100%)!important;
    border: 1px solid linear-gradient(87deg, #2dce89 0, #2dcecc 100%)!important;
}

.btn-primary.btn-gradient {
    background: -webkit-linear-gradient(50deg, #45cafc, #303f9f) !important;
    background: -o-linear-gradient(50deg, #45cafc, #303f9f) !important;
    background: linear-gradient(40deg, #45cafc, #303f9f) !important;
    border: 1px solid -webkit-linear-gradient(50deg, #45cafc, #303f9f) !important;
    border: 1px solid -o-linear-gradient(50deg, #45cafc, #303f9f) !important;
    border: 1px solid linear-gradient(40deg, #45cafc, #303f9f) !important;
}

.btn-info.btn-gradient {
    background: -webkit-linear-gradient(50deg, #2096ff, #05ffa3) !important;
    background: -o-linear-gradient(50deg, #2096ff, #05ffa3) !important;
    background: linear-gradient(40deg, #2096ff, #05ffa3) !important;
    border: 1px solid -webkit-linear-gradient(50deg, #2096ff, #05ffa3) !important;
    border: 1px solid -o-linear-gradient(50deg, #2096ff, #05ffa3) !important;
    border: 1px solid linear-gradient(40deg, #2096ff, #05ffa3) !important;

}

.btn-danger.btn-gradient {
    background: -webkit-linear-gradient(50deg, #bc3011, #ff000f) !important;
    background: -o-linear-gradient(50deg, #bc3011, #ff000f) !important;
    background: linear-gradient(40deg, #bc3011, #ff000f) !important;
    border: 1px solid -webkit-linear-gradient(50deg, #bc3011, #ff000f) !important;
    border: 1px solid -o-linear-gradient(50deg, #bc3011, #ff000f) !important;
    border: 1px solid linear-gradient(40deg, #bc3011, #ff000f) !important;
}

.btn-dark.btn-gradient {
    background: -webkit-linear-gradient(50deg, #181716, #7d7d7e) !important;
    background: -o-linear-gradient(50deg, #181716, #7d7d7e) !important;
    background: linear-gradient(40deg, #181716, #7d7d7e) !important;
    border: 1px solid -webkit-linear-gradient(50deg, #181716, #7d7d7e) !important;
    border: 1px solid -o-linear-gradient(50deg, #181716, #7d7d7e) !important;
    border: 1px solid linear-gradient(40deg, #181716, #7d7d7e) !important;
}

.btn-light.btn-gradient {
    background: -webkit-linear-gradient(50deg, #f8f9fa, #eef6fd) !important;
    background: -o-linear-gradient(50deg, #f8f9fa, #eef6fd) !important;
    background: linear-gradient(40deg, #f8f9fa, #eef6fd) !important;
    border: 1px solid -webkit-linear-gradient(50deg, #f8f9fa, #eef6fd) !important;
    border: 1px solid -o-linear-gradient(50deg, #f8f9fa, #eef6fd) !important;
    border: 1px solid linear-gradient(40deg, #f8f9fa, #eef6fd) !important;
}

/*
=========== END BUTTON ===========
*/

/*
============ ICON MENU BAR ==========
*/

.mobile-menu-toggle {
    background: transparent;
    border: 1px solid transparent;
    /* position: relative;
    top: 2px; */
}

.mobile-menu-toggle:focus {
    outline: none;
}

.menu-icon {
    max-width: 22px;
    display: inline-block;
}

.menu-icon .menu-bar {
    width: 22px;
    height: 2px;
    background: #666;
    display: block;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

.menu-icon .menu-bar--btm {
    margin-bottom: 0;
}

.menu-icon .menu-bar--mid {
    visibility: visible;
    opacity: 1;
}

.menu-open .menu-icon .menu-bar--mid {
    visibility: hidden;
    opacity: 0;
}

.mobile-menu-toggle.menu-open .menu-icon .menu-bar--top {
    -webkit-transform: translateY(8px) rotate(45deg);
    -ms-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
    margin: 0;
}

.mobile-menu-toggle.menu-open .menu-icon .menu-bar--btm {
    -webkit-transform: translateY(-6px) rotate(-45deg);
    -ms-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
}

/*
  =============== END ICON MENU BAR ==============
  */
.nav-tabs .nav-link:first-child {
    border-top-left-radius: 16px ;
    /*border-top-right-radius: 16px;*/
}
.nav-tabs .nav-link {
    color: #000;
}
.nav-tabs .nav-link.active {
    background-color: var(--primary);
    border-color: #dee2e6 #dee2e6 #fff;
    color: #fff;

}

/*
============ TABLE ROW =========
*/
.table thead tr th {
    border-top: 0;
}
table.scroll {
    min-width: 1300px;
    overflow-x: auto;
}
table td,
table th {
    vertical-align: middle !important;
    /*font-size: 15px;*/
}

table th {
    border-bottom: 0 !important;
    padding: 0.5em !important;
}

table.table-row {
    border-collapse: separate;
    border-spacing: 0 1em;
}

.table-row td,
.table-row th {
    background-color: #fff;
    position: relative;
}

.table-row td,
.table-row th {
    border-top: 1px solid #f0f7fd;
    border-bottom: 1px solid #f0f7fd;
}

.table-row td:first-child,
.table-row th:first-child {
    padding-left: 15px;
}

.table-row td:after,
.table-row th:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    z-index: -1;
    box-shadow: 0 5px 15px rgba(193, 212, 235, 0.58);
    bottom: 0;
    left: 1px;
}
.table.has-child tr.child td {
    border: none;
}
.table.has-child td.child {
    position: relative;

}
.table.has-child td.child::before {
    content: '';
    width: 2px;
    height: 88%;
    background: #adadad;
    position: absolute;
    top: -20px;
    left: 8px;
}
.table.has-child td.child::after {
    content: '';
    width: 28px;
    height: 2px;
    background: #adadad;
    position: absolute;
    left: 8px;
}

/*
=========== END TABLE ROW ===================
*/

/*
================ ALERT ====================
*/

.toast__container {
    display: table-cell;
    vertical-align: middle;
}

.toast__cell {
    display: inline-block;
}

.add-margin {
    margin-top: 20px;
}

.toast__svg {
    fill: #fff;
}

.toast {
    text-align: left;
    padding: 21px 0;
    background-color: #fff;
    border-radius: 4px;
    max-width: 500px;
    top: 0px;
    position: relative;
    box-shadow: 1px 7px 14px -5px rgba(0, 0, 0, 0.2);
}


.toast:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;

}

.toast__icon {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 5px 7px;
    border-radius: 50%;
    display: inline-block;
    color: #fff;
}

.toast__icon span {
    font-size: 18px;
}


.toast__type {
    color: #3e3e3e;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
}

.toast__message {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
    color: #878787;
}

.toast__content {
    padding-left: 70px;
    padding-right: 60px;
}

.toast__close {
    position: absolute;
    right: 22px;
    top: 50%;
    width: 14px;
    cursor: pointer;
    height: 14px;
    fill: #878787;
    transform: translateY(-50%);
}

.toast--success .toast__icon {
    background-color: #2BDE3F;
}

.toast--success:before {
    background-color: #2BDE3F;
}

.toast--primary .toast__icon {
    background-color: #1D72F3;
}

.toast--primary:before {
    background-color: #1D72F3;
}

.toast--warning .toast__icon {
    background-color: #FFC007;
}

.toast--warning:before {
    background-color: #FFC007;
}

.toast--danger .toast__icon {
    background-color: #dc3545;
}

.toast--danger:before {
    background-color: #dc3545;
}

#toastModal {
    position: fixed;
    top: 60px;
    right: 25px;
}

/*
================ END ALERT ================
*/

/*
============ FORM ==============
*/

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #ccc !important;
    font-size: 14px;
    font-weight: 300;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: red !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: red !important;
}
.form-group {
    margin-bottom: .5rem;
}
.form-group label {
    color: #525f7f !important;
}

.form-group small {
    color: #596687;
}

.form-control {
    font-size: .875rem;
    transition: all .15s ease-in-out;
    padding: 1rem .75rem !important;
    border: 1px solid #edeeee;
}

.form-control[type='date'], .form-control[type='datetime-local'] {
    padding: 0 .75rem !important;
}

.form-control:focus {
    color: #000;
    border-color: var(--primary);
    outline: 0;
    background-color: #fff;
    box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1);
}
.form-control:disabled::placeholder, .form-control[readonly]::placeholder {
    color: #222 !important;
}
.form-control:disabled, .form-control[readonly] {
    background-color: #87fb5d21 !important;
}

/*
============ END FORM =========
*/

/*
========== PREVIEW IMAGE ==============
*/

.preview-image,
.preview-multiple-image {
    width: 100%;
    min-height: 150px;
    position: relative;
    overflow-y: hidden;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-multiple-image {
    min-height: 80px;
}

.preview-image.border-dotted,
.preview-multiple-image.border-dotted {
    border: 1px dotted #ccc;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    border-radius: .375rem;
}
.preview-image img,
.preview-multiple-image img {
    max-width: 200px !important;
}
.preview-image input[type='file'],
.preview-multiple-image input[type='file'] {
    position: absolute;
    width: 100%;
    height: 100vh;
    left: 0;
    top: -50px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

.preview-image span,
.preview-multiple-image span {
    color: #8898aa;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.preview-image:hover span,
.preview-multiple-image:hover span {
    color: #525f7f;
}

.preview-image:hover.border-dotted,
.preview-multiple-image:hover.border-dotted {
    border-color: #525f7f;
}

.preview-image:hover.hover-bgc-dark::after {
    content: '';
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.preview-gallery .row {
    margin: 5px 0;
    position: relative;
}

.preview-gallery p {
    color: #9aa9b8;
    font-weight: 300;
    font-size: 12px;
}

.preview-gallery span {
    color: #000;
}

.preview-gallery i {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    transition: all 0.4s;
    font-size: 20px;
    color: red;
}

.preview-gallery img {
    border-radius: 3px;
}

.preview-gallery i:hover {
    transform: rotate(90deg);
}

/*
========== END PREVIEW IMAGE ===========
*/

/*
========== LOADING ===========
*/

.loading {
    width: 100%;
    height: 100%;
    background: #fff;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    display: none;
}

.loading > div {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    margin-left: -30px;
    top: 50%;
    margin-top: -30px;
}


.loading > div > div {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary);
    top: 10px;
    left: 10px;
    transform-origin: 20px 20px;
    border-radius: 8px;
    animation: spin-a 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

.loading > div > .c2 {
    top: 10px;
    left: auto;
    right: 10px;
    transform-origin: -4px 20px;
    animation: spin-b 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

.loading > div > .c3 {
    top: auto;
    left: auto;
    right: 10px;
    bottom: 10px;
    transform-origin: -4px -4px;
    animation: spin-c 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

.loading > div > .c4 {
    top: auto;
    bottom: 10px;
    transform-origin: 20px -4px;
    animation: spin-d 2s infinite cubic-bezier(0.5, 0, 0.5, 1);
}

@keyframes spin-a {
    0% {
        transform: rotate(90deg);
    }
    0% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-b {
    0% {
        transform: rotate(90deg);
    }
    25% {
        transform: rotate(90deg);
    }
    25% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-c {
    0% {
        transform: rotate(90deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    50% {
        transform: rotate(270deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-d {
    0% {
        transform: rotate(90deg);
    }
    25% {
        transform: rotate(90deg);
    }
    50% {
        transform: rotate(180deg);
    }
    75% {
        transform: rotate(270deg);
    }
    75% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.loading > span {
    width: 100px;
    height: 30px;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    top: 50%;
    margin-top: 30px;
    color: var(--primary);
    font-size: 12px;
    text-align: center;
}

/*
========== END LOADING ========
*/

/*
========== SELECT 2 ===========
*/

select.form-control {
    padding: 0 10px !important;
    height: 44px;
}
.select2 {
    width: 100% !important;
}
.select2-dropdown {
    border: 1px solid var(--primary) !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #edeeee !important;
}
.select2-selection {
    -webkit-box-shadow: 0;
    box-shadow: 0;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    color: #555555;
    font-size: 14px;
    outline: 0;
    min-height: 35px;
    text-align: left;
    width: 100% !important;
}

.select2-selection__rendered {
    margin: 7px;
    line-height: 20px !important;
}

.select2-selection--multiple:before {
    content: "";
    position: absolute;
    right: 7px;
    top: 42%;
    border-top: 5px solid #888;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.select2-selection__arrow {
    margin: 7px;
    height: 18px !important;
}
.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: none;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary) !important;
    color: #000;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--primary) !important;
}
.select2-container--default .select2-results__option[aria-selected="true"]:hover {
    color: #000;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primary) !important;
    color: #fff;
    border: 1px solid #edeeee !important;
}
.select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--single {
    border: 1px solid #edeeee !important;
}

/*
========== END SELECT 2 ========
*/

.modal-body {
    /*position: relative;*/
    /*padding-bottom: 56.25%; !* 16:9 *!*/
    /*padding-top: 25px;*/
    /*height: 0;*/
}

.modal-body iframe, .modal-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.alert-bound {
    animation: flash 1s infinite;
    -webkit-animation: flash 1s infinite;
    -moz-animation: flash 1s infinite;
    -o-animation: flash 1s infinite;
}
@keyframes flash {
    0% {
        color: #0b292e;
    }

    100% {
        color: red;
    }
}

@-webkit-keyframes flash {
    0% {
        color: #0b292e;
    }

    100% {
        color: red;
    }
}

::-webkit-scrollbar {
    width: 20px;
}
::-webkit-scrollbar-track {
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
}
::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
}
::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
}

#left-menu::-webkit-scrollbar-thumb {
    background-color: #1f2937;
    border-radius: 20px;
}
#left-menu:hover::-webkit-scrollbar-thumb {
    background-color: #a8bbbf;
}

/*loading--------*/
.loading-screen {
    background: #fff;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 123;
}
.loading-position {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ripple div {
    position: absolute;
    border: 4px solid #00c950;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}


/*loading--------*/
#navbar-system-config ul {
    padding: 0;
    margin: 0px;
}
#navbar-system-config li {
    border-radius: 4px;
    position: relative;
    min-width: 100px;
    text-align: center;
    list-style-type: none;
    display: inline-block;
    padding: 10px;
}
#navbar-system-config li a {
    color: var(--dark);
}
#navbar-system-config li:hover {
    background-color: var(--light-green);

}
#navbar-system-config li:hover a {
    color: var(--primary);
}
#navbar-system-config li.active {
    background: var(--primary);
}
#navbar-system-config li.active a {
    color: #fff;
    padding: 10px;
}
#navbar-system-config li.active a::after {
    content: '';
    width: 30px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    transform: translate(-50%,-50%);
    left: 50%;
}

.status-container .btn-add-status{
    position: absolute;
    top: -8px;
    right: 0;
}
.status-container .status-row {
    clear: both;
    position: relative;
    transition: all 0.4s;
    padding-bottom: 10px;
}
.status-container .status-row:nth-child(1) {
    margin-top: 0;
}

.status-container .status-row .icon {
    left: -3px;
    position: relative;
}
.status-container .status-row .doc ul li:hover .remove-file{
    opacity: 1;
    visibility: visible;
}
.status-container .status-row .remove-file {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.status-container .status-row .user {
    clear: both;
}
.status-container .status-row:hover .status-button{
    visibility: visible;
    opacity: 1;
}
.status-container .status-row .status-button {
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.status-container .status-row::after {
    content: '';
    height: 90%;
    border-left: 1px solid #ddd;
    position: absolute;
    top: 20px;
    margin-left: 6px;
}
.status-container .status-row .doc ul {
    margin-bottom: 0;
    padding: 0;
}
.status-container .status-row .doc ul li {
    list-style-type: none;
}
.status-container .status-row .doc ul li label {
    word-wrap: break-word
}


#iconSearch {
    width: calc(100% - 20px); /* Adjust width considering padding */
    padding: 8px 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width */
}

/* Basic CSS for the popup and icons */
#iconPickerPopup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 1000;
    width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
}

#iconPickerPopup h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

#iconGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 10px;
}

#iconGrid .icon-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    font-size: 24px; /* Adjust icon size */
}

#iconGrid .icon-item:hover {
    background-color: #f0f0f0;
    border-color: #aaa;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

.close-button:hover {
    color: #333;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Dropdown button styles */
.drop-down-container {
    position: relative;
    display: inline-block;
    text-align: left;
}

.drop-down-container .drop-down-button:hover {
    color: var(--primary);
}

.drop-down-container .drop-down-button i {
    margin-left: 5px;
    padding-top: 3px;
}

.drop-down-container .drop-down-button:hover {
    /*background-color: #f9fafb; !* hover:bg-gray-50 *!*/
    cursor: pointer;
}

.drop-down-container .drop-down-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6366f1; /* focus ring */
}

.drop-down-container .dots-icon {
    height: 1.25rem; /* h-5 */
    width: 1.25rem; /* w-5 */
    color: #9ca3af; /* text-gray-400 */
}

/* Dropdown menu styles and animation */
.drop-down-container .drop-down-menu {
    /* Initial state: hidden and scaled down */
    visibility: hidden;
    opacity: 0;
    transform: scale(0.8);
    transform-origin: top right;
    transition: all 0.2s ease-out;
    position: absolute;
    right: 1rem;
    width: 14rem; /* w-56 */
    border-radius: 0.375rem; /* rounded-md */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
    background-color: #ffffff;
    z-index: 10;
}


.drop-down-container .drop-down-menu.active {
    /* Active state: visible and scaled up */
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.drop-down-container .drop-down-item {
    display: block;
    padding: 0.5rem 1rem; /* px-4 py-2 */
    font-size: 0.875rem; /* text-sm */
    color: #4b5563; /* text-gray-700 */
    text-decoration: none;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.drop-down-container .drop-down-item:hover {
    background-color: #e8f6eb; /* hover:bg-gray-100 */
    color: #00c950; /* hover:text-gray-900 */
}

.drop-zone {
    border: 2px dashed #d1d5db;
    background-color: #f9fafb;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.drop-zone.dragover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}
.file-icon-container {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.file-icon-container svg {
    width: 100%;
    height: 100%;
}
