@import "../font/SF-Font/sf-font.css";

:root {
    --black-1: #212B36;
    --black-2: #454F5B;
    --grey1: #637381;
    --grey2: #e0e0e0;
    --white2: #F4F6F8;
    --white1: #F9FAFB;
    --primary: #3674D9;
    --secondary: #000000;
    --danger: #E55C57;
    --success: #50B83C;
    --warning: #EEC200;
    /* //////////////////////////////////////////////////// */
    --border-1: 1px solid #CDCDCD;
}

*{
    /* touch-action: none; */
}

html,
body {
    background-color: #f4f5fa;
    font-size: 13px;
    font-family: 'SF UI Text';
    overscroll-behavior: contain;
}

input.form-control {
    line-height: 2;
}

input.form-control:focus,
input.form-control:focus-visible {
    box-shadow: none;
    outline: none;
}

.btn-white {
    background-color: var(--white1);
    border: 1.5px solid var(--grey2);
    color: #000;
}

.btn-white:focus,
.btn-white:focus-visible,
.btn-white:active,
.btn-white:hover {
    background-color: var(--white1) !important;
    border: 1.5px solid var(--grey2);
    color: #000 !important;
}

.btn-outline-transparent {
    background-color: transparent;
    border: 1.5px solid var(--grey1);
    color: #000;
}

.btn-outline-transparent:focus,
.btn-outline-transparent:focus-visible,
.btn-outline-transparent:active,
.btn-outline-transparent:hover {
    background-color: transparent;
    border: 1.5px solid var(--grey1);
    color: #000 !important;
}

.btn-grey {
    background-color: var(--grey1);
    border: 1.5px solid var(--grey1);
    color: #fff;
}

.btn-grey:focus,
.btn-grey:focus-visible,
.btn-grey:active,
.btn-grey:hover {
    background-color: var(--grey1) !important;
    border: 1.5px solid var(--grey1);
    color: #fff !important;
}

.btn-blue {
    background-color: var(--primary) !important;
    border: 1.5px solid var(--primary);
    color: #fff;
}

.btn-blue:focus,
.btn-blue:focus-visible,
.btn-blue:active,
.btn-blue:hover {
    background-color: var(--primary) !important;
    border: 1.5px solid var(--primary);
    color: #fff !important;
}

.btn-red {
    background-color: var(--danger);
    border: 1.5px solid var(--danger);
    color: #fff;
}

.btn-red:focus,
.btn-red:focus-visible,
.btn-red:active,
.btn-red:hover {
    background-color: var(--danger) !important;
    border: 1.5px solid var(--danger);
    color: #fff !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.fs-35 {
    font-size: 35px !important;
}

.bold {
    font-weight: 700 !important;
}

.medium {
    font-weight: 500;
}

.normal {
    font-weight: 400;
}

.thin {
    font-weight: 300;
}

.no-scroll-bar {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.no-scroll-bar::-webkit-scrollbar {
    display: none;
}

.container-menu,
.container-sub-menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: flex-start;
    margin-left: -5px;
    margin-right: -5px;
}

.sidebar-menu .list-group-item.active {
    background-color: rgba(0, 0, 0, 0);
    color: var(--secondary);
    font-weight: bold;
    border-top-width: 0;
}

.sidebar-menu .list-group-item {
    color: var(--grey1);
}

.sidebar-menu .list-group-item {
    border-width: 0;
}

/* BEGIN MODULE CSS */
.box-menu {
    cursor: pointer;
    margin-right: 5px;
    margin-left: 5px;
    padding: 5px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    background-color: #fff;
    border: var(--border-1);
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(100% / 6);
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}

.box-menu.disabled {
    background-color: #eee;
    color: #cdcdcd;
}

.box-menu-method {
    cursor: pointer;
    margin-right: 5px;
    margin-left: 5px;
    padding: 5px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    background-color: #fff;
    border: var(--border-1);
    height: 200px;
    display: flex;
    flex: 0 0 calc(96% / 2);
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}

.box-menu-method.disabled {
    background-color: #eee;
    color: #cdcdcd;
}

.box-customer {
    height: 60px;
    background-color: #F4F5FA;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-size: 14px;
    color: var(--secondary);
    font-weight: 400;
    margin-bottom: 15px;
}

.cart-box {
    height: 90vh;
}

.cart-list {
    height: 70vh;
    overflow-y: scroll;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.cart-qty {
    flex: 4;
    font-size: 16px;
    font-weight: 600;
}

.cart-name {
    flex: 18;
    font-size: 16px;
}

.cart-category {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}

.cart-subcategory {
    font-size: 12px;
    margin-bottom: 0;
}

.cart-price {
    flex: 4;
    font-size: 16px;
    text-align: right;
}

.change-customer {
    border: 2px solid var(--secondary);
    width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.customer-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.customer-empty {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.customer-selected .thumbnail {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--black-1);
    font-size: 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-thumbnail {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--white1);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-transaction-item {
    background-color: #fff;
}

.detail-transaction-list-item tbody tr:first-child td {
    border-top-width: 1px;
}

.detail-transaction-list-item tbody tr td,
.detail-transaction-list-item thead tr th {
    padding: 10px 1rem;
    font-weight: 500;
}

.detail-transaction-summary {
    width: 30%;
    margin: 1rem;
    margin-left: auto;
}

.detail-transaction-summary tbody tr td {
    font-size: 14px;
    font-weight: 600;
    border-bottom-width: 0;
    padding: 5px 0;
}

/* #list-transaksi .list-group-item {
    border-right: 0;
    border-left: 0;
}

#list-transaksi .list-group-item:first-child {
    border-radius: 0;
    border-top: 0;
}

#list-transaksi .list-group-item:last-child {
    border-radius: 0;
}

#list-transaksi .list-group-item.on {
    border-left: 5px solid var(--primary);
} */

.transaction-id {
    font-size: 11px;
    font-weight: 300;
}

.transaction-date {
    font-size: 11px;
    font-weight: 300;
    font-style: italic;
    color: var(--grey1);
}

.transaction-customer {
    font-size: 14px;
    font-weight: 300;
}

.transaction-amount {
    font-size: 14px;
    font-weight: 300;
}

.on .transaction-id,
.on .transaction-date,
.on .transaction-customer,
.on .transaction-amount {
    font-weight: 500 !important;
}

.detail-transaction-id {
    font-size: 16px;
    font-weight: 600;
}

.detail-transaction-name {
    font-size: 16px;
    font-weight: 600;
}

.detail-transaction-date {
    font-size: 14px;
    font-weight: 500;
    color: var(--grey1);
}

.detail-transaction-phone {
    font-size: 14px;
    font-weight: 500;
}

.detail-transaction-note{
    font-size: 16px !important;
    color: var(--danger);
}

.detail-transaction-other tbody tr td:first-child {
    font-weight: 600;
}

.detail-transaction-other tbody tr td {
    /* font-weight: 600; */
    font-size: 14px;
    padding: 3px 5px;
    padding-left: 0;
    border-bottom-width: 0;
}

.cursors {
    cursor: pointer;
}

.jconfirm.jconfirm-supervan .jconfirm-bg {
    background-color: rgb(54, 70, 93) !important;
}

.datepicker .next,
.datepicker .prev {
    color: #637381 !important;
}

.disabled.day {
    color: var(--grey2);
}

.new.day {
    color: var(--black-2);
}

.active.day {
    background-color: var(--primary);
    color: #fff;
}

.multi-btn {
    background-color: white;
    border: 1px solid #ced4da !important;
}