﻿h1, h2, h3, h4, h5, h6, p, span, label, input, button, a, div, ul li, th, td {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #F0F2F5 !important;
}

.navbar p {
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    color: black
}

.navbar-brand {
    color: #5D35B0 !important;
    margin-left: 15px;
    font-style: normal;
    font-weight: 700;
    font-size: 32px !important;
    line-height: 38px;
}

    .navbar-brand p {
        font-style: normal;
        font-weight: 400;
        font-size: 16px !important;
        line-height: 24px;
    }

.navbar .nav-link {
    color: black !important;
    font-size: 18px;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

.green.nav-link {
    color: #20C997 !important;
}

.navbar-toggler {
    display: block !important;
    color: #5D35B0;
    border: 0
}

    .navbar-toggler .fa {
        color: #5D35B0;
    }

.modal-title {
    color: black;
    font-size: 16px;
}

.modal-header .btn-close {
    font-size: 10px;
}

.btn:focus {
    outline: none;
}

.bg-purple {
    background-color: #5D35B0 !important;
    color: white !important;
}

.purple {
    color: #5D35B0 !important
}

.btn-primary, .btn-primary:hover, .btn-primary:focus {
    box-shadow: none !important;
    background-color: #5D35B0;
    color: white;
    border-color: #5D35B0;
}

.checkoutModal {
    max-width: 600px !important
}

.table-mode tbody th {
    border-right: 0px;
}

.table-mode tbody td {
    border-left: 0px;
}

.table-mode, .table-pay {
    vertical-align: middle;
}

th, td {
    color: black
}

.table-pay tbody td:nth-child(1) {
    border-right: 0px;
    font-size: 14px;
}

.table-pay tbody td:nth-child(2) {
    border-left: 0px;
    text-align: right;
    font-size: 18px;
    font-weight: 500;
}

.table-pay thead tr th, .table-mode thead tr th {
    font-size: 14px;
    font-weight: 400;
}

.table-mode tbody tr th {
    font-weight: 500;
}

.table-mode tbody tr td {
    font-weight: 500;
    font-size: 24px;
    text-align: right
}

.table-mode tbody tr th,
.table-mode tbody tr td {
    padding-top: 15px;
    padding-bottom: 15px;
}

.table-pay tbody tr th,
.table-pay tbody tr td {
    padding-top: 5px;
    padding-bottom: 5px;
}

.table-box .box {
    display: flex;
    width: 100%;
    background-color: #BAA9DE;
    color: white;
    height: 78px;
    font-weight: 600;
    font-size: 32px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.table-box.row {
    margin: 0px -5px;
}

.table-box .col-4 {
    padding: 0px 2px;
}

.modal-backdrop {
    background-color: #33303A80 !important;
}

.input-label {
    color: black;
    font-size: 12px
}


.form-control {
    font-size: 12px !important;
}
/*switch Checkbox*/
.switch-checkbox {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 16px;
}

    /* Hide default HTML checkbox */
    .switch-checkbox input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* The slider */
    .switch-checkbox .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: transparent;
        border: 2px solid white;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .switch-checkbox .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 19px;
            left: -4px;
            bottom: -3px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    .switch-checkbox input:checked + .slider {
        background-color: transparent;
    }

    .switch-checkbox input:focus + .slider {
        box-shadow: 0 0 1px #2196F3;
    }

    .switch-checkbox input:checked + .slider:before {
        -webkit-transform: translateX(14px);
        -ms-transform: translateX(14px);
        transform: translateX(14px);
    }

    /* Rounded sliders */
    .switch-checkbox .slider.round {
        border-radius: 34px;
    }

        .switch-checkbox .slider.round:before {
            border-radius: 50%;
        }

/*.dashboxes {
    margin-left: -2px;
    margin-right: -2px;
}

    .dashboxes .col-3 {
        padding-left: 2px;
        padding-right: 2px;
    }

    .dashboxes .dashbox {
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        padding: 25px 15px;
        width: 100%;
        position: relative;
    }

        .dashboxes .dashbox .db-title {
            color: white;
            font-size: 14px;
            text-align: center;
            margin-bottom: 0px;
            line-height: 18px;
            margin-top: 4px;
            display: block;
            text-decoration: none;
        }*/


.bg-green {
    background-color: #14A46E
}

.bg-sky {
    background-color: #46B0E4
}

.bg-magenta {
    background-color: #DF5BA0
}

.bg-red {
    background-color: #C83537
}

.bg-yellow {
    background-color: #F1DA0A
}

.bg-pink {
    background-color: #FF6385
}

.bg-blue {
    background-color: #20A6CE
}

.bg-purples {
    background-color: #A265DF
}

.bg-dark-green {
    background-color: #20735A
}

.bg-light-sky {
    background-color: #3FCAC6
}

.bg-dark-purple {
    background-color: #6C4DAC
}

.bg-seagreen {
    background-color: #20C997
}

.bg-light-purple {
    background-color: #5E8ED2
}

.bg-light-brown {
    background-color: #B4848D
}

.bg-maroon {
    background-color: #BA4051
}

.bg-orange {
    background-color: #F59330
}

.shortkey {
    position: absolute;
    font-size: 12px;
    background: white;
    border-radius: 6px 0px 6px 0px;
    padding: 1px 5px;
    top: 5px;
    right: 5px;
}

.onoff::after {
    content: "On";
    position: absolute;
    color: white;
    right: -30px;
    top: 0px;
    font-size: 14px;
}

.onoff::before {
    content: "Off";
    position: absolute;
    color: white;
    left: -30px;
    top: 0px;
    font-size: 14px;
}

.promo-text {
    color: white;
    font-size: 25px;
    font-weight: 500;
    margin: 0
}

.promo-for {
    color: white;
    font-size: 22px;
    margin: 0
}

    .promo-for strong {
        font-weight: 500;
    }

.promo-div {
    background-color: transparent;
    display: flex;
    width: 100%;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.bg-promo {
    background-color: #20C997 !important;
    height: 241px;
}

.card {
    border-radius: 0px !important;
    border: none !important;
}

.item-lbl {
    color: black;
    font-size: 13.17px;
    font-weight: 400;
}

.item-qty {
    color: #5D35B0;
    text-align: right;
    font-weight: 600;
    min-width: 60px;
    font-size: 13.17px;
}

.TotalCart p {
    color: #5D35B0;
    font-size: 20px;
    font-weight: 600;
    text-align: right;
    margin: 0px !important;
    min-width: 60px;
}

/* Total table css */

.table-total tr,
.table-total td {
    border: none !important;
}

.table-total td {
    background: #5D35B0 !important;
    color: #fff;
}

.table-total td:first-child {
    border-bottom-left-radius:5px;
}

    .table-total td:last-child{
        border-bottom-right-radius: 5px;
    }

.table-total td p{
    margin: 0px !important;
}

    .table-total td p:first-child {
        font-weight: 600;
    }

/* Main table css */

.table-main tr th {
    border: none !important;
    background-color: #5D35B0 !important;
    color: #fff !important;
}

    .table-main tr th:first-child {
        border-top-left-radius: 8px !important;
    }

    .table-main tr th:last-child {
        border-top-right-radius: 8px !important;
    }

.table-main tr td {
    border: none !important;
    font-size: 14px !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: #E9E1F0 !important;
    color: var(--bs-table-striped-color);
}

#suggestions {
    font-size: 12px;
    max-height: 400px !important;
    overflow-y: auto;
}

.suggestion-item{
    cursor: pointer;
    padding: 5px 10px 0px 10px;
}

.cart-button:hover,
.checkout-button:hover {
    color: #fff !important;
}

.cart-button-list {
    list-style: none;
    display: flex;
    padding: 0px;
    align-items: end;
    margin: 0px;
}

    .cart-button-list li {
        position: relative;
    }

        .cart-button-list li:first-child {
            border-right: 1px solid #E9E1F0;
        }

.btn-carts p {
    font-size: 10px;
    margin: 0px
}

.cart-button-list .shortkey {
    top: -15px;
    background-color: #E9E1F0
}

.check-heights {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.historyModal {
    max-width: 1000px !important;
}

.suspend, .paid, .recall {
    color: white;
    font-size: 13px;
    border-radius: 8px;
    padding: 5px 12px;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.suspend {
    background-color: #C83537;
}

.paid {
    background-color: #20C997;
}

.recall {
    background-color: #F1DA0A;
}

.TotalPrice {
    font-size: 23px;
}

.btn-sky, .btn-sky:focus, .btn-sky:hover {
    color: white;
    background-color: #1FBBEC;
}

.btn-green, .btn-green:focus, .btn-green:hover {
    color: white;
    background-color: #20C997;
}

.btn {
    font-weight: 300;
    text-decoration: none;
}

.btn-outline-white, .btn-outline-white:focus {
    color: #8B8B8B;
    background-color: white;
    border: 1px solid #8B8B8B !important;
}

    .btn-outline-white:hover {
        color: white;
        background-color: #8B8B8B;
        border: 1px solid #8B8B8B;
    }

.ui-widget.ui-widget-content {
    z-index: 9999 !important
}

.btn-date {
    cursor: pointer
}

/*Cart CSS*/

.cart-button {
    background-color: #ff6f91;
    color: white;
    font-size: 16px;
    padding: 15px;
    border: none;
    width: 100%;
    height: 100px;
    text-align: left;
}

.checkout-button {
    background-color: #57b2e8;
    color: white;
    border: none;
    width: 100%;
    height: 100px;
}

.cart-shortcut {
    position: absolute;
    font-size: 12px;
    background: white;
    border-radius: 6px 0px 6px 0px;
    padding: 1px 5px;
    top: 5px;
    right: 5px;
    color: black
}

.summary-section {
    padding: 20px;
}

.summary-item {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

    .summary-item span {
        float: right;
        color: #6a0dad;
    }

.net-total {
    font-size: 24px;
    font-weight: bold;
    color: #6a0dad;
    text-align: right;
}

.footer-summary {
    background-color: #6a0dad;
    color: white;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

    .footer-summary div {
        font-size: 16px;
    }


html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* 🚫 disables scrollbar */
}

.main-layout {
    display: flex;
    height: 100vh;
}

.left-section {
    flex: 7; /* 70% width */
    padding: 10px;
    height: calc(100vh - 98px);
}

.table-card {
    overflow-y: auto;
    flex: 1; 
    min-height: 0;
}

.checkout-card {
    flex: 0 0 auto;
}

.right-section {
    flex: 5; /* 30% width */
    padding: 10px;
    height: calc(100vh - 98px);

}

.buttons-card {
    flex: 1;
    min-height: 0;
}

.parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

    .parent .row {
        flex: 1; /* makes all 4 rows equal height */
        display: flex;
        width: 100%;
    }

        .parent .row .cell {
            flex: 0 0 25%; /* each cell = 25% width */
            height: 100%; /* stretch full height of row */
            display: flex;
            padding: 0;
            align-items: center;
            justify-content: center;
            border: 1px solid #ccc; /* just to see structure */
        }

.cell .dashbox {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 25px 15px;
    width: 100%;
    position: relative;
    height: 100%;
}

    .cell .dashbox .db-title {
        color: white;
        font-size: 14px;
        text-align: center;
        margin-bottom: 0px;
        line-height: 18px;
        margin-top: 4px;
        display: block;
        text-decoration: none;
    }


.promo-card {
    flex: 0 0 auto;
}
/* Bottom totals */
.summary-section {
    border-top: 1px solid #ddd;
    padding-top: 8px;
    font-size: 14px;
}

.btn-purple {
    color: #fff;
    background-color: #5D35B0;
    border: 1px solid #5D35B0 !important;
}

.btn-purple:hover {
    color: #5D35B0;
    background-color: transparent;
}

@media(min-width: 1200px) {
    .dashbox img {
        width: 20px;
    }

    .cell .dashbox .db-title {
        font-size: 12px;
    }

    .cell .dashbox {
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        padding: 0px 15px;
        width: 100%;
        position: relative;
        height: 100%;
    }
    .shortkey {
        font-size: 10px;
    }
}

@media(min-width: 1550px) {
    .dashbox img {
        width: 30px;
    }

}

@media(min-width: 1650px) {
    .dashbox img {
        width: 40px;
    }

    .cell .dashbox .db-title {
        font-size: 14px;
    }

}

@media(min-width: 1750px) {
    .dashbox img {
        width: 50px;
    }

    .cell .dashbox .db-title {
        font-size: 15px;
    }

    .shortkey {
        font-size: 12px;
    }
}

@media(min-width: 2200px) {
    .dashbox img {
        width: 60px;
    }

    .cell .dashbox .db-title {
        font-size: 16px;
    }

    .shortkey {
        font-size: 12px;
    }
}