@import url('https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&family=Hanuman:wght@100;300;400;700;900&family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&family=Koulen&family=Noto+Sans+Khmer:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --color-primary: #6C9BCF;
    --color-danger: #FF0060;
    --color-success: #1B9C85;
    --color-warning: #F7D060;
    --color-white: #fff;
    --color-info-dark: #7d8da1;
    --color-dark: #363949;
    --color-light: rgba (132, 139, 200, 0.18);
    --color-dark-variant: #677483;
    --color-background: #f6f6f9;
    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 1.2rem;
    --card-padding: 1.8rem;
    --padding-1: 1.2rem;
    --box-shadow: 0 2rem 3rem var(--color-light);
}

.dark-mode-variables{
    --color-background: #181a1e;
    --color-white: #202528;
    --color-dark: #edeffd;
    --color-dark-variant: #a3bdcc;
    --color-light: rgba(0, 0, 0, 0.4);
    --box-shadow: 0 2rem 3rem var(--color-light);
}

body{
    
}

.kantumruy-bold {
    font-family: 'Kantumruy Pro', sans-serif;
    font-weight: bold;
}

.kantumruy {
    font-family: 'Kantumruy Pro', sans-serif;
}

.battambang {
    font-family: 'Battambang', sans-serif;
}

.kantumruy-bold-title {
    font-family: 'Kantumruy Pro', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
}

.modal-div {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mymodal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: white;
    padding: 20px; 
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
  

.dashboard-show {
    display: flex;
    gap: 0.5rem;
    
}

.dashboard-hover {
    background-color: var(--color-light);
}

.dashboard-hover:hover {
    background-color: rgb(230, 230, 230);
}

.dashboard-border-red {
    border-bottom: 4px solid #FF0060;
}

.dashboard-border-green {
    border-bottom: 4px solid #11a004;
}

.dashboard-border-yellow {
    border-bottom: 4px solid #e4a51d;
}

.dashboard-border-blue {
    border-bottom: 4px solid #004fb0;
}

.dashboard-text {
    font-family: 'Kantumruy Pro', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
}

.dashboard-icon {
    font-size: 3rem;
}

table{
    font-family: 'Kantumruy Pro', sans-serif;
    color: #677483;
}



.view-text-h1 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-dark);
    
}

.view-text-h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-dark-variant);
    width: 100%;
    overflow-wrap: inherit;
}

.form-control{
    border: 1px solid rgb(216, 216, 216);
    border-radius: 6px;
}

.mylayout{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sidebar{
    width: 18%;
    padding: var(--card-padding);
}

.sidebar .logo{
    font-family: 'Kantumruy Pro';
    font-weight: bold;
    font-size: larger;
}

.content-side{
    width: 86%;
}

.menu-toggle{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.menu-toggle .close{
    display: none;
}

.sidebar-menu{
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    box-shadow: var(--box-shadow);
    border-radius: 15px;
    height: 88vh;
    position: relative;
    top: 1.5rem;
    transition: all 0.3s ease;
}

.sidebar-menu:hover{
    box-shadow: none;
}

.sidebar-menu a{
    font-family: 'Kantumruy Pro', sans-serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: var(--color-info-dark);
    height: 3.7rem;
    gap: 1rem;
    position: relative;
    margin-left: 2rem;
    transition: all 0.3s ease;
}

.sidebar-menu a span{
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

/* .sidebar-menu a:last-child{
    position: absolute;
    bottom: 2rem;
    width: 100%;
} */

.sidebar-menu a.active{
    width: 100%;
    color: var(--color-primary);
    background-color: var(--color-light);
    margin-left: 0;
}

.sidebar-menu a.active::before{
    content: '';
    width: 6px;
    height: 18px;
    background-color: var(--color-primary);
}

.sidebar-menu a.active span{
    color: var(--color-primary);
    margin-left: calc(1rem - 3px);
}

.sidebar-menu a:hover{
    color: var(--color-primary);
}

.sidebar-menu a:hover {
    margin-left: 0.6rem;
}

.message-count{
    background-color: red;
    padding: 2px 6px;
    color: white;
   
    border-radius: 0.4rem;
}

.menu-button{
    display: none;
}

/* footer {
    position: absolute;
    bottom: 0;
} */

.hover-red:hover {
    color: red;
}

.form-control {
    background-color: rgb(244, 244, 244);
}

.my-wrap {
    margin-left: 2rem;
    margin-right: 2rem;
}
/* alert-message */
.colored-toast.swal2-icon-success {
    background-color: rgb(0, 194, 0) !important;
    font-family: 'Kantumruy Pro', sans-serif;
  }
  
  .colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
  }
  
  .colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
  }
  
  .colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
  }
  
  .colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
  }
  
  .colored-toast .swal2-title {
    color: white;
  }
  
  .colored-toast .swal2-close {
    color: white;
  }
  
  .colored-toast .swal2-html-container {
    color: white;
  }

/* Document Detail */
.document-detail {
    font-family: 'Battambang', sans-serif;
}

.document-detail p {
    font-size: 1.1rem;
    color: var(--color-dark);
}

.menu-filter {
    display: flex;
    align-items: end;
    gap: 10px;
    width: 100%;
    justify-content: start;
}


@media screen and (max-width: 1200px){
    .sidebar{
        display: none;
    }
    .content-side{
        width: 100%;
    }

    .menu-button{
        display: block;
    }
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .searchbar input{
        display: none;
    }

    .search-input {
        display: none;
    }

    .btn-search {
        display: none;
    }

    .btn-profile {
        display: none;
    }

    .menu-filter {
        flex-direction: column;
    }
  
    
    
}

@media screen and (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
    .dashboard-show {
        flex-direction: column;
        
    }

    .logout-nav{
        display: none;
    }

    .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
    .modal-content {
        padding: 10px;
    }
}

/* @media (max-width: 576px) {
    .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
    .modal-content {
        padding: 10px;
    }
} */