@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Poppins", serif;
    min-height: 100vh;
    background: linear-gradient(#f1faff, #cbe4ff);
}

.tab-content {
    width: 100%;
    height: calc(100% - 48px);
    margin-inline: auto;
    padding-block: 19px;
    overflow: hidden;
    padding-inline: 16px;
    display: none;
    opacity: 0;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.main-color {
    color: #151A2D;
}

.main-color-bg {
    background-color: #151A2D;
    color: #fff;
}

/* scroll bar style  */
::-webkit-scrollbar {
    width: 0.625rem;
}

::-webkit-scrollbar-track {
    background-color: #151A2D;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#f1faff, #cbe4ff);
    border-radius: 10px;
}

/* scroll bar style  */
/* start aside bar  */
.sidebar {
    background-color: #151A2D;
    width: 270px;
    margin: 16px;
    position: fixed;
    border-radius: 16px;
    height: calc(100vh - 32px);
    transition: 0.4s ease;
    z-index: 20;
}

.sidebar.collapsed {
    width: 85px;
}

.sidebar-header {
    padding: 20px 20px;
    position: relative;
}

.sidebar-header .toggler {
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #151A2D;
    transition: 0.4s ease;
}

.sidebar-header .sideBar-toggle {
    position: absolute;
    right: 20px;
}

.sidebar.collapsed .sidebar-header .sideBar-toggle {
    transform: translate(-5px, 55px);
}



.sidebar-header .toggler:hover {
    background-color: #dde4fb;
}

.sidebar-header .menu-toggle {
    display: none;
}

.sidebar-header .sideBar-toggle i {
    font-size: 18px;
    transition: 0.4s ease;
}

.sidebar.collapsed .sidebar-header .sideBar-toggle i {
    transform: rotate(180deg);
}

.sidebar-header .header-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

.sidebar-nav .nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 15px;
    transform: translateY(10px);
    transition: 0.4s ease;
}

.sidebar-nav .nav-list.user-nav {
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.sidebar.collapsed .nav-list.user-nav {
    bottom: 30px;
}

.sidebar-nav .nav-list p {
    font-size: 12px;
}

.sidebar.collapsed .sidebar-nav .nav-list p {
    text-align: center;
}

.sidebar.collapsed .sidebar-nav .nav-list {
    transform: translateY(40px);
}

.sidebar.collapsed .sidebar-nav .nav-list.user-nav {
    transform: translateY(30px);
}


.sidebar-nav .nav-link {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.4s ease-in-out;
    border-radius: 8px;
}

.sidebar-nav .nav-link .nav-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

.sidebar-nav .nav-link .nav-icon i.fa-laptop {
    font-size: 20px;
}

.sidebar-nav .nav-link .nav-icon i.fa-house {
    font-size: 24px;
}

.sidebar-nav .nav-link:hover {
    background-color: #fff;
    color: #151A2D
}

.sidebar-nav .nav-link svg {
    transition: 0.4s ease-in-out;
}

.sidebar-nav .nav-link:hover svg,
.sidebar-nav .nav-link:hover svg path {
    fill: #151A2D;
}

.sidebar-nav .nav-link .nav-label {
    white-space: nowrap;
}

.sidebar-nav .nav-item {
    position: relative;
}

.sidebar-nav .nav-tooltip {
    color: #151A2D;
    background-color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    position: absolute;
    top: -10px;
    left: calc(100% + 25px);
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: 0s;
    display: none;
}

.sidebar.collapsed .sidebar-nav .nav-tooltip {
    display: block;
}

.sidebar-nav .nav-item:hover .nav-tooltip {
    opacity: 1;
    transform: translateY(50%);
    transition: 0.4s ease;
}

.sidebar.collapsed .sidebar-nav .nav-link .nav-label {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 992px) {
    .sidebar {
        margin: 13px;
        width: calc(100% - 26px);
        height: 56px;
        overflow-y: hidden;
        max-height: calc(100% - 26px);
        padding-bottom: 20px;
        scrollbar-width: none;
    }

    .sidebar.menu-active {
        overflow-y: auto;
    }

    .sidebar .sidebar-header {
        position: sticky;
        top: 0;
        z-index: 20;
        background-color: #151A2D;
        padding: 10px 16px;
        border-radius: 16px;
    }

    .sidebar-header .header-logo img {
        width: 40px;
        height: 40px;
    }

    .sidebar-header .sideBar-toggle,
    .sidebar-nav .nav-tooltip {
        display: none;
    }

    .sidebar-header .menu-toggle {
        display: flex;
    }

    .sidebar-nav .nav-list {
        padding: 0 10px;
    }

    .sidebar-nav .nav-link {
        gap: 10px;
        padding: 10px;
        font-size: 15px;
    }

    .sidebar-nav .nav-list.user-nav {
        position: static;
        margin: 0;
    }

}

@media (max-height: 800px) {
    .sidebar.collapsed .sidebar-nav .nav-list.user-nav {
        transform: translateY(40px);
    }
}

/* end aside bar  */

/* start main section  */
main {
    overflow: hidden;
}

.layout {
    background-color: #151A2D;
    width: calc(100vw - 328px);
    margin: 16px 16px 16px 302px;
    min-height: calc(100vh - 32px);
    border-radius: 16px;
    scrollbar-width: none;
    transition: 0.4s ease;
}

.layout.fullwidth {
    width: calc(100vw - 143px);
    margin: 16px 16px 16px 117px;
}

@media (max-width: 992px) {
    .layout {
        width: calc(100vw - 26px);
        margin: 80px 13px;
        scrollbar-width: none;
    }
}

@media (max-width: 576px) {
    .layout {
        width: calc(100vw - 26px);
    }

    /* .grid-control {
        display: none !important;
    } */
}

.grid-control {
    display: none;
}

.products-control {
    padding-inline: 16px;
    padding-top: 16px;
}

/* start main section  */
/* start home section  */
.asus .img-holder .caption {
    color: rgba(254, 210, 67, 1);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.25rem;
}

.asus .img-holder img {
    transition: 0.4s ease-in-out;
}

.asus .img-holder:hover img {
    transform: scale(1.1);
}

/* end home section  */
/* start product section  */
.system {
    background-color: #fff;
    color: #151A2D;
    border-radius: 16px;
}

.form-control:focus {
    box-shadow: none;
}

.system form input.form-control,
.system form select.form-select,
.system form textarea.form-control {
    border-bottom-color: #151A2D !important;
}

form textarea.form-control {
    height: 100px !important;
}

.form-select:focus {
    box-shadow: none;
}

select.form-select option {
    color: #151A2D;
}

form .total-price span {
    width: 100%;
    height: 35px;
    display: block;
    background-color: #151A2D;
}


table td img {
    width: 100px;
}

#addProduct {
    background-color: #151A2D;
    color: white;
}

#updateProduct {
    background-color: #cbe4ff;
    color: #151A2D;
}

td button i {
    font-size: 25px;
}

.custom-tooltip {
    --bs-tooltip-bg: #151A2D;
    --bs-tooltip-color: #fff;
}

.form-control.is-valid:focus {
    box-shadow: none;
}

.form-control.is-invalid:focus {
    box-shadow: none;
}

.form-control.is-valid {
    border-bottom-color: #198754 !important;
}

.form-control.is-invalid {
    border-bottom-color: #dc3545 !important;

}

/* end product section  */
/* start category section  */
.sort-by span {
    background-color: #151A2D;
    color: #fff;
}

.sale {
    background-color: #198754;
    color: white;
    display: block;
    position: absolute;
    right: -68px;
    top: 18px;
    width: 12.5rem;
    padding-block: .125rem;
    font-size: .875rem;
    transform: rotate(45deg);
    text-align: center;
}

.card-text ul li {
    color: #ffc107;
}

.card-text button.cart {
    background-color: #151A2D;
    color: #fff;
    border: 1px solid #151A2D;
    transition: 0.4s ease-in-out;
}

.card-text button.cart:hover {
    background-color: transparent;
    color: #151A2D;

}

.card {
    transition: 0.4s ease-in-out;
}

.card:hover {
    border: 1px solid #151A2D !important;
}

.card:hover .img-holder {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card .img-holder img {
    transition: 0.4s ease-in-out;
}

.card:hover .img-holder img {
    transform: scale(1.2);
}

.img-holder .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #151a2dec;
    transition: 0.4s ease-in-out;
    opacity: 0;
}

.card:hover .img-holder .layer {
    opacity: 1;
    border-radius: 5px;
}

.img-holder .layer i {
    color: #151A2D;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s ease-in-out;
    border: 1px solid #151A2D;
    cursor: pointer;
}

.img-holder .layer i:hover {
    background-color: #ffffff6b;
    color: #151A2D;
}

.fav-icon {
    cursor: pointer;
}

/* end category section  */
/* start product info  */
.product-container,
.register-container,
.login-container,
.alert-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-container .product-info {
    width: 800px;
    max-height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #ddd;
}

.product-container .product-info>i {
    cursor: pointer;
}

.product-container .product-info .img-holder {
    border: 2px solid #151A2D;
}

.product-container .product-info .img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 0;
}

.product-container .product-info .img-holder::after {
    display: var(--display);
    content: "";
    width: 100%;
    height: 100%;
    background-color: black;
    background-image: var(--url);
    background-size: 200%;
    background-position: var(--zoom-x) var(--zoom-y);
    position: absolute;
    left: 0;
    top: 0;
}

.product-info .product-details h3::after {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -10px;
    left: 0;
    width: 100px;
    background-color: #151A2D;
}

.product-info .cart-btn,
.register-form .signup-btn,
.login-form .signin-btn,
.alert-container .alert-login,
.btn-group button,
.checkout {
    background-color: #151A2D;
    color: #fff;
    transition: 0.4s ease-in-out;
    border: 1px solid #151A2D;
}

.product-info .cart-btn:hover,
.register-form .signup-btn:hover,
.login-form .signin-btn:hover,
.alert-container .alert-login:hover,
.btn-group button:hover,
.checkout:hover {
    background-color: transparent;
    color: #151A2D;
}

.product-info .close {
    top: 0;
    right: 0;
}

@media (max-width: 992px) {
    .product-container .product-info {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .product-container .product-info {
        width: 70%;
    }
}

@media (max-width: 567px) {
    .product-container .product-info {
        width: 90%;
    }
}

/* end product info  */
/* start register tap  */
.register-form,
.login-form {
    background-color: #ddd;
    width: 600px;
    max-height: 80%;
    overflow-y: auto;
    overflow-x: hidden;
}

.register-form div i,
.login-form div i {
    cursor: pointer;
}

@media (max-width: 768px) {

    .register-form,
    .login-form {
        width: 100%;
        margin-inline: 16px;
    }

}

@media (max-width: 576px) {
    .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
        border-radius: 0.375rem;
    }

    .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
        border-radius: 0.375rem;
    }

    .input-group>.form-control,
    .input-group>.form-floating,
    .input-group>.form-select {
        width: 100%;
    }

    .input-group-text {
        margin-bottom: 5px;
        padding: 0;
        background-color: transparent;
        border: 0;
    }
}

.form-line:after {
    position: absolute;
    content: "";
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #151A2D;
}

/* end register tap  */
/* start cart  */
.icon-holder {
    position: fixed;
    top: 20%;
    right: 0;
}

.cart-icon,
.wishlist-icon {
    font-size: 25px;
    cursor: pointer;
    position: relative;
    padding: 10px;
}

.cart-num,
.whishlist-num,
.userCart-num {
    background-color: red;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: -12.5px;
    top: -12.5px;
}

.cart-num.userCart-num {
    left: 35px;
    top: 45px;
}

.cartItems {
    max-height: 600px;
    background-color: #F8F9FA;
}

.item {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.shipping {
    border-bottom: 1px dashed #151A2D;

}

/* end cart  */
/* toast message  */
.login-message {
    background-color: #ddd;
    width: 500px;
}

.login-message button {
    cursor: pointer;
}

@media (max-width: 576px) {
    .login-message {
        width: 100%;
        margin: 0 16px;
    }

}

/* toast message  */