﻿/*@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/Lato-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}*/


html, body {
    background-color: white;
    font-size: 13px !important;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

.disable-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.logo {
    border: None;
    max-height: 40px;
    margin-right: 10px;
}

input[type="password"] {
    font-family: Arial, sans-serif
}

btn {
    outline: none;
}

.btn:hover,
.btn:focus {
    outline: none !important;
}

    .btn:focus:not(:focus-visible) {
        outline: 0 !important;
        box-shadow: none !important;
    }

.fixed-top {
    width: 300px;
    position: fixed;
    top: 5px;
    left: calc(100% - 400px);
    font-size: 12px;
}

.alert-custom {
    width: fit-content;
    font-size: 12px;
    margin: 0 auto;
    margin-bottom: 10px;
    padding: 6px 10px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.alert-danger {
    background-color: #FFF3E6;
    border: solid 1px #fce1c2;
}

.alert-success {
    background-color: #F1F8E6;
    color: #76B900;
}

.header-panel {
    height: 60px;
    padding: 10px;
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    width: 100%;
    background-color: white;
    z-index: 999;
}

    .header-panel .search {
        border: solid 1px rgb(240,240,240);
        padding: 5px 10px;
        border-radius: 10px;
    }

        .header-panel .search:hover,
        .header-panel .search:focus {
            outline: none;
            border-color: rgba(0, 128, 0, 0.1);
            box-shadow: none;
            box-shadow: 0px 0px 0px rgba(0, 0, 0, 0) inset, 0px 0px 6px rgba(0, 128, 0, 0.4);
        }

    .header-panel .logo {
        max-width: 200px;
    }

    .header-panel .cart-container {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: end;
        padding: 0px;
    }

        .header-panel .cart-container .cart-div {
            width: fit-content;
            right: 30px;
            position: absolute
        }

            .header-panel .cart-container .cart-div .cart-total {
                font-weight: 500;
                font-size: 0.9em;
            }

        .header-panel .cart-container .cart-count {
            background-color: orangered;
            position: absolute;
            color: white;
            font-weight: 500;
            text-align: center;
            border-radius: 50%;
            font-size: smaller;
            left: 50%;
            top: 0;
            transform: translateX(-50%);
            cursor: pointer;
            padding: 4px;
            line-height: 50%;
        }

.body-container {
    margin-top: 60px;
    background-color: white;
}

.left-panel {
    width: 240px;
    float: left;
    position: fixed;
    left: 10px;
    padding-top: 10px;
}

    .left-panel .label-container {
        background-color: rgba(240, 240, 240, 0.5);
        padding: 5px 10px;
        border-radius: 6px;
    }

    .left-panel .search-icon {
        color: silver;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .left-panel .seller {
        margin-top: 6px;
        background-color: rgba(0, 255, 0, .05);
        padding: 5px 10px;
        border-radius: 6px;
        width: inherit;
        position: relative;
    }

    .left-panel .dropdown-menu .client-name {
        font-weight: 500;
        font-size: 0.9em;
    }

    .left-panel .dropdown-menu .online {
        color: darkgoldenrod;
    }

    .left-panel .dropdown-menu .offline {
        color: dimgray;
    }

    .left-panel .dropdown-menu .address {
        font-size: 11px;
        font-style: italic;
        color: gray;
    }

    .left-panel .dropdown-menu {
        margin-top: 0px;
        display: block;
        border: unset;
        width: inherit;
        max-height: calc(100vh - 140px);
        overflow: auto;
    }

        .left-panel .dropdown-menu .active {
            background-color: linen !important;
            border-radius: 4px;
            color: black;
        }

        .left-panel .dropdown-menu .dropdown-item {
            background-color: #FAFAFA;
            border-radius: 2px;
            padding-top: 6px;
            padding-bottom: 6px;
            margin-bottom: 6px;
            white-space: unset;
            border-radius: 6px;
        }

            .left-panel .dropdown-menu .dropdown-item:focus {
                background-color: linen;
                color: black;
            }

.right-panel {
    margin-left: 250px;
}

    .right-panel .item {
        width: 250px !important;
        height: 450px;
        border-radius: 6px;
        padding: 16px;
        margin: 10px;
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 18px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    }

        .right-panel .item .off {
            background-color: limegreen;
            padding: 4px 12px;
            color: white;
            border-top-left-radius: 8px;
            border-bottom-right-radius: 8px;
            width: fit-content;
        }

        .right-panel .item .item-img {
            max-width: 100%;
            max-height: 250px;
            padding: 30px;
            display: block;
            margin-left: auto;
            margin-right: auto;
            transition: transform 0.2s ease-out;
        }

            .right-panel .item .item-img:hover {
                transform: scale(1.05);
            }

        .right-panel .item .item-bottom {
            position: absolute;
            bottom: 20px;
            width: 220px;
        }

        .right-panel .item .category {
            color: gray;
            font-size: smaller;
        }

        .right-panel .item .name {
            font-weight: 500;
        }

        .right-panel .item .measure {
            display: flex;
            align-items: center;
        }

        .right-panel .item .mrp {
            font-size: 0.8em;
            display: flex;
            justify-content: end;
            text-decoration-line: line-through;
            color: orange;
        }

        .right-panel .item .price {
            font-weight: 500;
            font-size: 1.2em;
            display: flex;
            justify-content: end;
            align-items: center;
        }

        .right-panel .item .btn-success {
            width: 100%;
            margin-top: 30px;
            margin-bottom: 10px;
            background-color: white;
            color: green;
            font-size: 0.8em;
            border: solid 1px green;
        }

            .right-panel .item .btn-success:hover,
            .right-panel .item .btn-success:focus {
                background-color: #228B22 !important;
                border-color: #228B22 !important;
                box-shadow: 0px 5px 15px rgba(34, 139, 34, 0.5);
                color: white;
            }

            .right-panel .item .btn-success:active:focus {
                box-shadow: 0px 5px 15px rgba(34, 139, 34, 0.5);
            }

        .right-panel .item .cart-remove {
            position: absolute;
            right: 10px;
            top: 14px;
            cursor: pointer;
        }

.quantity-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.quantity-btn {
    background-color: #228B22;
    color: white;
    border: none;
    padding: 2px;
    cursor: pointer;
    font-size: 20px;
    width: 30px;
    border-radius: 4px;
}

    .quantity-btn:hover {
        background-color: #228B22;
        box-shadow: 0px 5px 15px rgba(34, 139, 34, 0.5);
    }

.quantity-input {
    width: 50px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.left-modal {
    left: unset;
    right: 0;
    bottom: 0;
    width: 500px;
}

    .left-modal .modal-dialog {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        margin: 0px;
        height: 100vh;
    }

    .left-modal .modal-content {
        height: 100%;
    }

    .left-modal.show .modal-dialog {
        transform: translateX(0);
    }

    .left-modal .item {
        padding: 5px 20px 0px 5px;
        border: solid 1px #f2ebeb;
        border-radius: 4px;
        display: flex !important;
        margin-bottom: 10px;
    }

        .left-modal .item .div-img {
            width: 120px;
            padding: 14px;
        }

            .left-modal .item .div-img img {
                border-radius: 6px;
            }

        .left-modal .item .name {
            margin-top: 4px;
            margin-bottom: 6px;
        }

        .left-modal .item .price {
            font-weight: 500;
            font-size: 1.2em;
        }

        .left-modal .item .mrp {
            font-size: 0.8em;
            text-decoration-line: line-through;
            color: orange;
        }

        .left-modal .item .you-pay {
            font-weight: 500;
            color: #8f8d8c;
            padding-right: 20px;
        }

            .left-modal .item .you-pay .total {
                color: darkgreen;
                margin-left: 5px;
                width: fit-content;
                padding: 0px;
            }

        .left-modal .item .remove-btn {
            padding: 0px;
            font-size: 0.8em;
            margin-left: 5px;
            color: silver;
            border: unset;
            background-color: transparent !important;
        }

    .left-modal .modal-footer {
        background-color: rgba(35, 165, 65, .1);
        text-align: center !important;
        padding: 4px;
        display: inline-block;
    }

        .left-modal .modal-footer .btn-light {
            background-color: transparent;
            border: none;
            color: green;
        }

.highlight {
    background-color: rgba(35, 165, 65, .1);
    border-radius: 2px;
    color: #25a541;
    padding: 0px 4px;
    display: inline-block;
    font-size: 0.8em;
    font-weight: normal;
    border-radius: 2px;
    width: fit-content;
}

.forgot-password {
    text-align: center;
    margin-top: 20px !important;
    font-style: italic;
    margin: 0px;
    cursor: pointer;
    font-size: smaller;
    text-align: end;
}

.user-icon {
    font-size: 20px;
    color: silver;
    cursor: pointer;
}

.user-icon-active {
    font-size: 24px;
    color: deepskyblue;
}

/*#divUserName {
    font-size: x-small;
    font-style: italic;
    color: gray;
    position: fixed;
    left: 10px;
    top: 60px;
    height: fit-content;
    width: fit-content;
}*/

.form-control, .form-select {
    border-color: rgba(0, 128, 0, 0.5);
}

    .form-control:focus, form-select:focus {
        outline: none;
        border-color: rgba(0, 128, 0, 0.1);
        box-shadow: none;
        background-color: #FFFFF0;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0) inset, 0px 0px 6px rgba(0, 128, 0, 0.4);
    }

.form-control-plaintext:focus {
    box-shadow: none;
    outline: none;
}

.profile-dashboard {
    width: 500px;
    padding: 30px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.profile-orders {
    padding: 10px;
}

.profile-left {
    width: 250px;
    padding: 30px;
    border-right: solid 1px silver;
}

.form-label {
    color: silver;
    margin-bottom: 2px;
}

.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

    .btn-close:focus {
        outline: none;
        box-shadow: none;
    }

.temp {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.delivery {
    padding: 20px;
    width: 100%;
    height: 100%;
    font-size: 0.9em;
    background-color: rgba(35, 165, 65, 0.08);
}

    .delivery .mode {
        padding: 0px 10px;
        border-radius: 6px;
        color: green;
        font-weight: 500;
    }

    .delivery .pickup {
        padding: 10px;
        border-radius: 6px;
        margin-bottom: 5px;
    }

        .delivery .pickup .point {
            background-color: white;
            padding: 10px;
            border-radius: 4px;
            margin: 5px 0px;
            cursor: pointer;
        }

        .delivery .pickup .active {
            background-color: linen !important;
        }

.small-font-italic {
    color: gray;
    font-size: small;
    font-style: italic;
}

.order-header {
    padding: 10px 4px;
    background-color: rgb(240,240,240,0.3);
    font-size: 0.9em;
    border-radius: 4px;
}

.order-cancelled-header {
    background-color: rgba(225, 0, 0, 0.05) !important;
}

.order-delivered-header {
    background-color: rgba(0, 255, 0, 0.1) !important;
}

.home-deliver {
    color: green;
}

.pickup-by-customer {
    color: darkred;
}

.profile-header {
    background-color: rgba(200,200,200,0.1);
    padding: 10px 16px;
    font-size: 1.1em;
    border-radius: 6px;
    color: green;
}

.multi-lines {
    white-space: pre-line;
    line-height: 1.4;
}

.no_data {
    padding: 20px;
    width: fit-content;
    margin: auto;
    box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.pagination {
    background-color: white;
    width: fit-content;
    margin: 0 auto;
    padding: 10px;
    margin: 10px auto;
}

    .pagination .page-index {
        line-height: 20px;
        padding: 0px 5px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-weight: 500;
        min-width: 40px;
        border: solid 1px rgb(240,240,240);
    }

.search-seller {
    margin-top: 20px;
}

    .search-seller .search-container {
        position: relative;
    }

    .search-seller .search-input {
        height: 50px;
        border-radius: 30px;
        padding-left: 35px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

        .search-seller .search-input:hover,
        .search-seller .search-input:focus {
            outline: none;
            border-color: rgba(0, 128, 0, 0.1);
            box-shadow: none;
            box-shadow: 0px 0px 0px rgba(0, 0, 0, 0) inset, 0px 0px 6px rgba(0, 128, 0, 0.4);
        }

    .search-seller .search-icon {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        color: #888;
    }

.ui-autocomplete {
    background: #4a4a4a;
    border-radius: 0px;
    z-index: 9990 !important;
    border-radius: 10px;
    padding: 10px !important;
    background-color: white !important;
}

    .ui-autocomplete.source:hover {
        background: red;
    }

.ui-menu .ui-menu-item a {
    border-radius: 0px;
    padding: 10px !important;
    border: 1px solid #E9F6EC !important;
    border-radius: 6px;
}
.ui-menu-item-wrapper {
}

    .ui-widget-content .ui-state-active,
    .ui-button.ui-state-active:hover,
    .ui-menu-item-wrapper:hover {
        background-color: green !important;
        border: solid 1px green !important;
        border-radius: 6px !important;
    }
footer {
    background-color: rgba(0,80,0,1);
    margin-top: 30px;
    padding: 30px 20px;
}
    footer a {
        color: white !important;
        letter-spacing: 1px;
        font-size: 0.9em;
    }
.card-shadow {
    border-radius: 0.6rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    width: 300px;
}
.chat-container {
    width: 340px;
    height: 400px;
    position: fixed;
    bottom: 6px;
    right: 6px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: white;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 5px 9px 32px;
    z-index: 1000;
    background-image: url('../images/chat_background.jpg');
}
    .chat-container .title {
        padding: 5px 10px;
        color: white;
        background-color: rgb(100, 100, 100);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        cursor: move;
    }
        .chat-container .title i {
            font-size: 20px;
            cursor: pointer;
        }
        .chat-container .conversation {
            padding: 5px 0px;
            height: calc(100% - 90px);
            overflow: auto;
        }
        .chat-container .conversation .seen {
           color: blue;
        }
            .chat-container .conversation .msg-out {
                background-color: linen;
                border-top-left-radius: 10px;
                width: fit-content;
                margin-left: auto;
                margin-right: 4px;
                max-width: calc(100% - 30px);
                margin-bottom: 6px;
                padding: 6px 8px;
            }
            .chat-container .conversation .msg-in {
                background-color: #ffffff;
                border-top-right-radius: 10px;
                width: fit-content;
                margin-bottom: 6px;
                margin-left: 4px;
                margin-right: auto;
                max-width: calc(100% - 30px);
                padding: 6px 8px;
            }
            .chat-container .conversation .msg {
                word-wrap: break-word;
                white-space: pre-line;
                line-height: 1.5;
            }
            .chat-container .conversation .msg-deleted {
                color: silver;
                font-style: italic;
            }
            .chat-container .conversation .chat-prop {
                text-align: end;
                font-size: 0.7em;
                color: gray;
                font-style: italic;
                margin-top: 6px;
            }
            .chat-container .conversation img {
                max-height: 100px !important;
                max-width: 50% !important;
                margin: 5px 0px;
                border-radius: 10px;
                cursor: pointer;
            }
    .chat-container .message-container {
        bottom: 4px;
        left: 4px;
        right: 4px;
        position: absolute;
        box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 5px 9px 32px;
    }
        .chat-container .message-container #txtChatMessage {
            background-color: white;
            border-radius: 3px;
            padding-left: 10px;
        }

        .zoom {
            font-weight: 500;
            font-size: 1.2em;
            padding: 0px 10px;
            cursor: pointer;
        }

