﻿:root {
    --primary-color: #207abf;
    --white-color: #fff;
    --dark-grey-color: #666666;
    --sidebar-background-color: #63CF5933;
    --login-box-width: 760px;
    --sidebar-width: 300px;
    --collapse-sidebar-width: 60px;
}

input::-moz-placeholder {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", serif !important;
}

body, h1, h2, h3, h4, h5, h6, ul, li, span, a, button, p, input, input::placeholder {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", serif !important;
}

.fw-400 {
    font-weight: 400;
}

.fw-600 {
    font-weight: 600;
}

.fw-800 {
    font-weight: 800;
}

.text-theme-primary {
    color: var(--primary-color) !important;
}

.text-dark-grey {
    color: var(--dark-grey-color);
}

.theme__select {
    padding: 14px;
    border-radius: 8px;
    background: #cce1ca;
    border: none;
}

.theme__btn {
    padding: 12px;
    min-width: 170px;
    border-radius: 2rem;
    border: none;
}

    .theme__btn.filled__btn {
        background-color: var(--primary-color);
        color: var(--white-color);
    }

    .theme__btn.un__filled__btn {
        background-color: transparent;
        color: var(--primary-color);
        outline: 1px solid var(--primary-color);
    }

input:focus, select:focus {
    outline: none;
}

.new {
    padding: 50px;
}

.form-group {
    display: block;
}

    .form-group input {
        padding: 0;
        height: initial;
        width: initial;
        margin-bottom: 0;
        display: none;
        cursor: pointer;
    }

    .form-group label {
        position: relative;
        cursor: pointer;
    }

        .form-group label:before {
            content: "";
            -webkit-appearance: none;
            background-color: transparent;
            border: 2px solid #D0D5DD;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
            padding: 8px;
            display: inline-block;
            position: relative;
            vertical-align: middle;
            cursor: pointer;
            margin-right: 5px;
            background: #fff;
            border-radius: 4px;
        }

    .form-group input:checked + label:after {
        content: "";
        display: block;
        position: absolute;
        top: 4px;
        left: 7px;
        width: 6px;
        height: 12px;
        border: solid #207abf;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

.input__right__icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: black;
}

.order__count {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary-color);
    border-radius: 100%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.common__input {
    margin-bottom: 8px;
    position: relative;
}

    .common__input input {
        padding: 15px;
        border: 1px solid black;
        border-radius: 6px;
        width: 100%;
        background-color: transparent;
    }

        .common__input input:focus {
            box-shadow: none;
            outline: none;
        }

    .common__input .text__error {
        position: absolute;
        left: 0;
        bottom: -1rem;
        font-size: 12px;
    }

.modal {
    background: rgba(50, 105, 45, 0.368627451);
}

.theme__table {
    height: calc(100vh - 265px);
}

    .theme__table table {
        width: 100%;
    }

        .theme__table table thead tr th {
            color: var(--white-color);
            position: sticky;
            background-color: var(--primary-color);
            top: 0;
        }

        .theme__table table tbody tr:nth-of-type(odd) {
            background-color: rgba(255, 252, 252, 0.7803921569);
        }

        .theme__table table tbody tr:nth-of-type(even) {
            background-color: rgba(99, 207, 89, 0.4392156863);
        }

        .theme__table table tr td, .theme__table table tr th {
            border: 2px solid var(--white-color);
            padding: 0.5rem;
        }

.table__pagination span {
    font-weight: 500;
}

.table__pagination select {
    padding: 0.25rem 1rem;
    border-radius: 6px;
    border: 1px solid #207abf;
}

.table__pagination ul {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    justify-content: end;
}

    .table__pagination ul li span {
        width: 2rem;
        height: 2rem;
        display: inline-block;
        background: var(--white-color);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 500;
        color: var(--primary-color);
        cursor: pointer;
    }

    .table__pagination ul li.active span, .table__pagination ul li:hover span {
        background-color: var(--primary-color);
        color: var(--white-color);
    }

.product__quantity {
    position: relative;
    width: 50%;
    margin: auto;
}

    .product__quantity span {
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
        background-color: var(--white-color);
        position: absolute;
    }

        .product__quantity span.left__span {
            left: 3px;
            top: 2px;
        }

        .product__quantity span.right__span {
            right: 3px;
            top: 2px;
        }

    .product__quantity input {
        background: #D9E4D8;
        border: none;
        padding: 3px 0.5rem;
        border-radius: 20px;
        width: 100%;
    }

/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

/**** Login - Page ****/
.auth__wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #207abf;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .auth__wrapper .login__box {
        background-color: #F5F5DC;
        padding: 4rem;
        border-radius: 24px;
        width: 35%;
    }

        .auth__wrapper .login__box .product__logo img {
            width: 30%;
        }

        .auth__wrapper .login__box h3 {
            color: black;
        }

        .auth__wrapper .login__box .form__box {
            width: 80%;
            margin: auto;
        }

/****** Dashboard - Page *******/
.sidebar-collapsed .main__wrapper {
    margin-left: var(--collapse-sidebar-width) !important;
}

.sidebar-collapsed header {
    width: calc(100% - var(--collapse-sidebar-width)) !important;
    display: none;
}

.sidebar-collapsed .logout__btn {
    text-align: center;
}

    .sidebar-collapsed .logout__btn .icon + span {
        display: none;
    }

.dashboard__wrapper {
    background-image: url(../img/dashboard-bg.png);
}

    .dashboard__wrapper aside {
        position: fixed;
        left: 0;
        width: var(--sidebar-width);
        background-color: var(--sidebar-background-color);
        height: 100vh;
        transition: all 0.5s linear;
    }

        .dashboard__wrapper aside.collapsed {
            width: var(--collapse-sidebar-width);
        }

            .dashboard__wrapper aside.collapsed .welcome__text {
                display: none;
            }

            .dashboard__wrapper aside.collapsed nav ul li .icon + span {
                display: none;
            }

        .dashboard__wrapper aside .product__logo img {
            width: 4rem;
        }

        .dashboard__wrapper aside .product__logo .welcome__text p, .dashboard__wrapper aside .product__logo .welcome__text h6 {
            font-size: 0.875rem;
        }

        .dashboard__wrapper aside .logout__btn {
            position: absolute;
            bottom: 0;
            padding: 1rem;
        }

            .dashboard__wrapper aside .logout__btn i {
                transform: rotateY(180deg);
            }

        .dashboard__wrapper aside nav ul li {
            padding: 1rem;
            margin-bottom: 0.25rem;
            cursor: pointer;
        }

            .dashboard__wrapper aside nav ul li a {
                text-decoration: none;
                color: var(--primary-color);
                display: flex;
                gap: 0.5rem;
                align-items: center;
            }

                .dashboard__wrapper aside nav ul li a i {
                    color: var(--primary-color);
                }

                .dashboard__wrapper aside nav ul li a:hover {
                    color: var(--white-color) !important;
                }

            .dashboard__wrapper aside nav ul li.active, .dashboard__wrapper aside nav ul li:hover {
                background-color: var(--primary-color);
            }

                .dashboard__wrapper aside nav ul li.active a, .dashboard__wrapper aside nav ul li:hover a {
                    color: var(--white-color);
                    font-weight: 700;
                }

                    .dashboard__wrapper aside nav ul li.active a i, .dashboard__wrapper aside nav ul li:hover a i {
                        color: var(--white-color);
                    }

    .dashboard__wrapper .main__wrapper {
        margin-left: var(--sidebar-width);
        transition: all 0.5s linear;
        height: 100%;
    }

        .dashboard__wrapper .main__wrapper.pt-72 {
            padding-top: 72px;
        }

        .dashboard__wrapper .main__wrapper.h-100vh {
            height: 100vh;
        }

    .dashboard__wrapper header {
        padding: 1.5rem 0;
        position: fixed;
        z-index: 9999;
        width: calc(100% - var(--sidebar-width));
    }

        .dashboard__wrapper header .search__bar {
            width: 100%;
            max-width: 80%;
        }

            .dashboard__wrapper header .search__bar .search__input input {
                width: 100%;
                border-radius: 34px;
                padding: 0.5rem 1rem;
                border: none;
                outline: 1px solid var(--primary-color);
            }

    .dashboard__wrapper main {
        background-image: url(../img/main-bg.png);
        height: calc(100vh - 72px);
        padding: 1rem 0;
        border-radius: 8px;
        width: 100%;
        max-width: 99%;
        margin: auto;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

        .dashboard__wrapper main.inner__main__page {
            background-image: none;
            background-color: rgba(255, 255, 255, 0.4509803922);
        }

        .dashboard__wrapper main .card {
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.0509803922);
            border: none;
            border-radius: 0.85rem;
        }

        .dashboard__wrapper main .banner__main__top {
            display: flex;
            gap: 10px;
            align-items: center;
        }

            .dashboard__wrapper main .banner__main__top .card {
                height: 64px;
                cursor: pointer;
            }

                .dashboard__wrapper main .banner__main__top .card svg {
                    height: 40px;
                    width: 40px;
                }

                .dashboard__wrapper main .banner__main__top .card.active, .dashboard__wrapper main .banner__main__top .card:hover {
                    background-color: var(--primary-color);
                }

                    .dashboard__wrapper main .banner__main__top .card.active h4, .dashboard__wrapper main .banner__main__top .card.active p, .dashboard__wrapper main .banner__main__top .card:hover h4, .dashboard__wrapper main .banner__main__top .card:hover p {
                        color: var(--white-color) !important;
                    }

                    .dashboard__wrapper main .banner__main__top .card.active svg, .dashboard__wrapper main .banner__main__top .card.active path, .dashboard__wrapper main .banner__main__top .card:hover svg, .dashboard__wrapper main .banner__main__top .card:hover path {
                        fill: var(--white-color);
                        stroke: var(--white-color);
                    }

                    .dashboard__wrapper main .banner__main__top .card.active span.order__count, .dashboard__wrapper main .banner__main__top .card:hover span.order__count {
                        background-color: var(--white-color) !important;
                        color: var(--primary-color) !important;
                    }

                .dashboard__wrapper main .banner__main__top .card .card-body {
                    display: flex;
                    gap: 10px;
                    align-items: center;
                    height: 100%;
                }

        .dashboard__wrapper main .main__middle__content {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            max-height: calc(100vh - 185px);
            overflow: auto;
        }

            .dashboard__wrapper main .main__middle__content .card {
                height: 257px;
                width: 252px;
            }

                .dashboard__wrapper main .main__middle__content .card .card-body .product__img {
                    max-height: 150px;
                    height: 100px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                    .dashboard__wrapper main .main__middle__content .card .card-body .product__img img {
                        height: 100%;
                    }

                .dashboard__wrapper main .main__middle__content .card .card-body h3 {
                    font-size: 18px;
                    margin: 0 !important;
                }

                .dashboard__wrapper main .main__middle__content .card .card-body .theme__btn {
                    padding: 7px;
                    min-width: 150px;
                }

        .dashboard__wrapper main .filter__grid .filter__search__bar {
            width: 50%;
        }

            .dashboard__wrapper main .filter__grid .filter__search__bar input {
                width: 100%;
                padding: 0.5rem 1rem;
                border-radius: 50px;
                border: none;
                background: rgba(204, 225, 202, 0.4588235294);
            }

            .dashboard__wrapper main .filter__grid .filter__search__bar .input__right__icon {
                top: 0.5rem;
            }

        .dashboard__wrapper main .cart__table__wrapper .cart__table {
            max-height: calc(100vh - 170px);
        }

        .dashboard__wrapper main .cart__table__wrapper thead tr th {
            position: sticky;
            top: 0;
            background: var(--white-color);
        }

        .dashboard__wrapper main .cart__table__wrapper tr th, .dashboard__wrapper main .cart__table__wrapper tr td {
            padding: 1rem;
        }

        .dashboard__wrapper main .cart__table__wrapper .product__detail {
            display: flex;
            align-items: center;
        }

            .dashboard__wrapper main .cart__table__wrapper .product__detail .img__container img {
                width: 150px;
            }

            .dashboard__wrapper main .cart__table__wrapper .product__detail .product__info__container .discount__price {
                text-decoration: line-through;
                display: inline-block;
            }

        .dashboard__wrapper main .cart__table__wrapper .product__quantity {
            width: 40%;
        }

        .dashboard__wrapper main .checkout__wrapper .cart__table {
            max-height: calc(100vh - 540px);
        }

        .dashboard__wrapper main .cart__wrapper {
            padding-top: 72px !important;
        }

/******* Media - Query ********/
@media only screen and (max-width: 1200px) {
    .dashboard__wrapper .main__wrapper main .banner__main__top .card .card-body {
        padding: 0.25rem 0.875rem;
    }

        .dashboard__wrapper .main__wrapper main .banner__main__top .card .card-body svg {
            width: 25px;
            height: 25px;
        }

        .dashboard__wrapper .main__wrapper main .banner__main__top .card .card-body h4, .dashboard__wrapper .main__wrapper main .banner__main__top .card .card-body p {
            font-size: 1rem;
        }

    .dashboard__wrapper .main__wrapper main .main__middle__content .card {
        width: 32%;
    }

    .dashboard__wrapper .main__wrapper main .cart__wrapper .items__table__with__checkout__content {
        display: block !important;
    }

        .dashboard__wrapper .main__wrapper main .cart__wrapper .items__table__with__checkout__content div {
            width: 100% !important;
            margin-bottom: 0.25rem;
        }
}

@media only screen and (max-width: 992px) {
    .pt-72 {
        padding-top: 2rem !important;
    }

    .dashboard__wrapper .main__wrapper main {
        height: auto;
    }

    .dashboard__wrapper .theme__table {
        height: calc(100vh - 235px);
    }
}

@media only screen and (max-width: 768px) {
    .auth__wrapper .login__box {
        width: 550px;
    }

        .auth__wrapper .login__box .form__box {
            width: 70%;
        }

    .dashboard__wrapper header {
        width: 86vw;
        background: rgba(99, 207, 89, 0.2);
    }

    .dashboard__wrapper .banner__main__top .card {
        width: 32%;
    }

    .dashboard__wrapper .main__wrapper main .main__middle__content .card {
        width: 49%;
    }
}

@media only screen and (max-width: 568px) {
    .auth__wrapper .login__box {
        width: 90%;
        padding: 2rem;
        margin: 20px 0;
    }

        .auth__wrapper .login__box .form__box {
            width: 100%;
        }

        .auth__wrapper .login__box .product__logo img {
            width: 50%;
        }

    .dashboard__wrapper .main__wrapper main .banner__main__top .card {
        width: 48%;
    }

        .dashboard__wrapper .main__wrapper main .banner__main__top .card h4, .dashboard__wrapper .main__wrapper main .banner__main__top .card p {
            font-size: 0.8rem !important;
        }

    .dashboard__wrapper .main__wrapper main .main__middle__content {
        max-height: calc(100vh - 292px);
    }

        .dashboard__wrapper .main__wrapper main .main__middle__content .card {
            width: 100%;
        }

    .dashboard__wrapper .main__wrapper main .grid__table__filter__btn .theme__btn {
        min-width: 100%;
        margin-right: 0;
        margin-bottom: 0.25rem;
        text-align: left;
    }

    .dashboard__wrapper .main__wrapper main .theme__table {
        height: calc(100vh - 318px);
    }

        .dashboard__wrapper .main__wrapper main .theme__table tr th, .dashboard__wrapper .main__wrapper main .theme__table tr td {
            min-width: 150px;
            font-size: 0.875rem;
        }

    .dashboard__wrapper .main__wrapper main .table__pagination ul {
        margin: 1rem 0 0 !important;
    }
}

.cursor-pointer {
    cursor: pointer;
}

/*add menu tahir*/
.product__logo {
    display: flex; /* Use Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100%; /* Optional: Set height for vertical centering */
}

.FontSize-LoginTxt {
    font-size: 25px;
}

.text-danger {
    color: #ef1f1f;
}

/*Spinner Section*/

/* The overlay that darkens the background */
/*.ngx-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;*/ /* Hide by default */
    /*justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);*/ /* Optional: Adds blur effect to the background */
/*}*/

/* Center the spinner */
/*.center-center {
    display: flex;
    justify-content: center;
    align-items: center;
}*/

/* The circular spinner container */
/*.ngx-foreground-spinner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;*/ /* Ensures the spinner is circular */
    /*border: 5px solid rgba(0, 0, 0, 0.1);*/ /* Light border around the spinner */
    /*border-top: 5px solid rgb(50, 105, 45);*/ /* Spinner color */
    /*animation: spin 1.5s linear infinite;*/ /* Rotation animation */
/*}*/

/* Define the spinner's animation (spin in a circle) */
/*@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}*/

/* Text for the loader */
/*.ngx-loading-text {
    font-size: 16px;
    font-weight: bold;
    color: rgb(50, 105, 45);
    margin-top: 15px;
}*/

/* Background spinner (optional) */
/*.ngx-background-spinner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    display: none;*/ /* Hide by default */
/*}*/

/* Smaller background spinner animation */
/*.sk-ball-spin-clockwise div {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: currentColor;
    border-radius: 50%;
    animation: sk-ball-spin-clockwise 1.5s infinite ease-in-out;
}

@keyframes sk-ball-spin-clockwise {
    0% {
        opacity: 1;
        transform: rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: rotate(360deg);
    }
}*/
