:root {
    --primary: #1d3722;
    --secondary: #fff8cc;
    --mixed: #84A17F;
}

@font-face {
    font-family: 'BaiJamjuree';
    src: url('/fonts/BaiJamjuree-Regular.ttf') format('truetype');
}

body
{
    font-family: 'BaiJamjuree', sans-serif;
    background: var(--secondary) !important;
    background-image: radial-gradient(var(--mixed) 1px, transparent 0) !important;
    background-size: 40px 40px !important;
    margin: 0 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-shadow: 1px 1px 0px #000000a8 !important;
    overflow-x: hidden !important;
}

.header {
    height: 60px;
    background-color: var(--primary);
    border-bottom: 2px solid var(--mixed);
    display: flex;
    align-items: center;
    padding: 0px 20px;
    text-decoration: none;
}

.sidebar {
    position: fixed;
    height: calc(100vh - 60px);
    width: 9vw;
    background-color: var(--primary);
    border-right: 2px solid var(--mixed);
    display: flex;
    align-items: flex-start;
    padding: 20px;
    z-index: +1;
    top: 60px;
    flex-direction: column;
    gap: 16px;
}

.header span {
    color: var(--secondary);
    font-weight: bold;
    font-size: 18pt;
    text-shadow: 2px 1px 0 #1d9d74, 4px 2px 0 rgba(0, 0, 0, 0.15);
}

.content {
    position: absolute;
    top: 62px;
    left: calc(9vw + 42px);
    width: calc(100vw - 9vw - 82px);
    height: calc(100vh - 102px);
    padding: 20px;
}

.page_title {
    color: var(--primary);
    font-size: 25pt;
    font-weight: bold;
    text-shadow: 4px 2px 0 rgba(0, 0, 0, 0.15);
    margin-bottom: 32px;
}

.action_sidebar {
    background-color: var(--mixed);
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    color: var(--primary);
    font-size: 12pt;
    border-bottom: 2px solid var(--secondary);
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action_sidebar:hover {
    background-color: var(--secondary);
    cursor: pointer;
    transition: 0.3s;
}

.sidebar_separator {
    width: 100%;
    height: 2px;
    background-color: var(--mixed);
}

.input-group label {
    position: absolute;
    top: -2px;
    z-index: +20;
    padding: 0px 6px;
    margin-left: 6px;
    height: 6px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 0px;
    backdrop-filter: blur(6px);
    color: var(--primary);
}

.input-group label::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f1ce";
    margin-right: 6px;
}

.input-group input {
    background: #ffffffa3;
    border-radius: 6px !important;
}

.input-group textarea {
    background: #ffffffa3;
    border-radius: 6px !important;
}

.input-group select {
    background: #ffffffa3;
    border-radius: 6px !important;
}

.action_form {
    margin-top: 12px;
    text-align: end;
    width: calc(50% - 12px);
}

.btn {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
    transition: 0.3s !important;
}

.btn:hover {
    background-color: var(--mixed) !important;
    color: var(--primary) !important;
    transition: 0.3s !important;
}

.card {
    background: var(--primary);
}

.card-header {
    color: var(--secondary);
    font-size: larger;
}

.card-body {
    background: var(--mixed);
}

.status_pannel {
    border-radius: 50px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary);
    background-color: gray;
}

.header_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.active_pannel_status {
    background-color: var(--bs-success) !important;
}

.inactive_pannel_status {
    background-color: var(--bs-danger) !important;
}