.custom-scrollbar::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #C1C1C1;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a4a4a4;
}

.main-layout {
    font-family: "Inter", sans-serif;
    height: 100vh;
    background-color: #f6f6f6;
    display: flex;
    gap: 24px;
    padding: 24px;
    position: relative;
}

/* Sidebar */
.main-sidebar {
    position: relative;
    width: 272px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 8px 5px 8px 8px;
    gap: 8px;
    border-radius: 8px;
}

.logo-sidebar-extend {
    width: 208px;
    height: 83px;
}

.logo-sidebar-narrow {
    display: none;
    width: 42px;
    height: 36px;
}

.narrow-sidebar {
    position: absolute;
    right: -20px;
    top: 78px;
    width: 40px;
    height: 40px;
    border-radius: 999999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff1f2;
    rotate: 180deg;
}

.narrow-sidebar:hover {
    cursor: pointer;
}

.menu-sidebar {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    margin-top: 12px;
    scrollbar-gutter: stable;
}

.menu-sidebar::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.menu-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.menu-sidebar::-webkit-scrollbar-thumb {
    background: #C1C1C1;
}

.menu-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a4a4a4;
}


ul,
li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

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

.parent-menu {
    display: flex;
    padding: 12px 16px;
    border-radius: 4px;
    gap: 12px;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 450;
    line-height: 24px;
    text-align: left;
    border-bottom: 1px solid #f3f5fc;
    color: #4f4f4f;
    text-decoration: none;
}

.parent-menu:hover {
    color: #4f4f4f;
}

.parent-menu-active {
    background-color: #e6ecf8;
    color: #2c58a0;
}

.parent-menu-active p {
    color: #2c58a0;
    font-weight: 600;
}

.arrow-menu-icon  {
    width: 12px;
    height: 24px;
}

.has-child {
    justify-content: space-between;
}

.has-child div {
    display: flex;
    gap: 12px;
}

.sub-menu {
    display: none;
    font-size: 14px;
    font-weight: 450;
    line-height: 24px;
    background-color: #f6f6f6;
}

.sub-menu-show {
    display: block;
}

.sub-menu li {
    padding-top: 8px;
}

.sub-menu li:first-child {
    padding-top: 0;
}

.sub-menu a {
    padding: 12px 16px;
    border-radius: 4px;
    display: flex;
    gap: 16px;
}

.sub-menu a:hover {
    background-color: #e6ecf8;
}

.sub-menu a img {
    visibility: hidden;
}

.sub-menu-active {
    visibility: visible !important;
}

.user-sidebar {
    width: 100%;
    height: 48px;
    background-color: #f3f5fc;
    padding: 4px 16px;
    display: flex;
    justify-content: center;
    border-radius: 4px;
    gap: 4px;
}

.user-sidebar div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.user-sidebar div .username {
    font-family: "Inter";
    font-size: 14px;
    font-weight: 450;
    line-height: 24px;
    width: 204px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #244580;
}

.user-sidebar div .email {
    font-family: "Inter";
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    width: 204px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #b0b0b0;
}

.user-sidebar-minimize {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

/* Body */
.main-body {
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.main-body::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

.main-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.main-body::-webkit-scrollbar-thumb {
    background: #C1C1C1;
}

.main-body::-webkit-scrollbar-thumb:hover {
    background: #a4a4a4;
}

.notification-container {
    display: flex;
    width: 100%;
    gap: 16px;
    min-width: 1040px;
}

.notification-item {
    display: flex;
    gap: 8px;
    width: 50%;
    min-height: 60px;
    padding: 10px 16px;
    border-radius: 8px;
    justify-content: space-between;
    align-items: center;
    background-color: white;
}

.notification-item p {
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    color: black;
}

.notification-item a {
    text-wrap: nowrap;
    min-width: 125px;
    height: 40px;
    padding: 8px 16px;
    border-radius: 4px;
    background-color: #2c58a0;
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
}

.date-body {
    display: flex;
    height: 48px;
    background: white;
    justify-content: center;
    border-radius: 4px;
    padding: 10px 16px;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    min-width: 1040px;
}

.breadcrumb-body {
    font-size: 14px;
    font-weight: 450;
    line-height: 24px;
    color: #6d6d6d;
    min-width: 1040px;
}

.breadcrumb-body strong {
    color: #0a0a0a;
}

.title-body {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    color: #213559;
    min-width: 1040px;
}

.content-body {
    flex-grow: 1;
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 1040px;
}

.table-data {
    flex-grow: 1;
}

.search-bar {
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.search-bar input {
    width: 256px;
    height: 100%;
}

.input-search-container {
    position: relative;
}

.input-search-container input {
    padding-left: 32px;
    font-size: 14px;
    height: 100%;
    width: 346px;
}

.input-search-container img {
    position: absolute;
    left: 12px;
    top: 12px;
}

.search-bar button {
    width: 159px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    background-color: #2c58a0;
    color: white;
}

.search-bar button:hover {
    width: 159px;
    height: 40px;
    background-color: #264e8f;
    color: rgb(240, 238, 238);
}

.order-cell {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.id-cell {
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.unit-cell {
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.date-cell {
    height: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.action-cell {
    height: 1px;
    text-align: center;
}

.w-180 {
    width: 180px;
}

.action-cell div {
    gap: 10px;
}

.delete-cell {
    width: 10px;
    text-align: center;
}

.edit-mode {
    display: none;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-common {
    width: 159px;
    height: 40px;
}

.btn-outline {
    padding: 6px 16px;
    border-radius: 4px;
    border: 1px solid #e6ecf8 !important;
    color: #2c58a0 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 28px;
}

.btn-outline:hover {
    background-color: #f7f7f7f7;
}

.btn-edit {
    background-color: #f0fdf5;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: #157440 !important;
}

.btn-change-primary {
    background-color: #edf9ff;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: #0b68ea;
}

.cus-bidding-completed {
    background-color: #edf9ff !important;
    color: #0b68ea !important;
}

.cus-before-bidding {
    color: #157440 !important;
}

.btn-delete {
    background-color: #fef2f2;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: #c9151e;
}

.btn-change {
    background-color: #fffaeb;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: #b74a06;
}

.btn-copy {
    background-color: #f3f5fc;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: #244580;
}

.btn-save {
    background-color: #2c58a0;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: white;
}

.btn-save:hover {
    color: white;
    background-color: #264e8f !important;
}

.btn-cancel {
    background-color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 28px;
    color: #3c70bb;
    border: 1px solid #e6ecf8;
}

.text-error {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #ec4a47;
}

.select-error {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #ec4a47;
}

.checkbox-error {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #ec4a47;
}

.onclick-logout {
    display: flex;
}

.disable-button {
    background-color: #f6f6f6 !important;
    color: #d1d1d1 !important;
}

.custom-w-65 {
    width: 65%;
}

.custom-w-35 {
    width: 35%;
}
