* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
    background-color: #f8f9fa;
}


:root {
    --primary_color: #EC1C24;
    --dark: #323232;
}

a {
    text-decoration: none !important;
    color: #151515 !important;
}

    a:hover {
        color: #151515 !important;
    }

.splash_logo {
    background-color: var(--primary_color);
}

/* header{
    position: fixed; 
}
header{
    width: 100%;
} */

/* .menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
} */



/* ---------- topbar ---------- */
.topbar {
    /* z-index: 100;
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0; */
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 74px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.menu-icon img {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.topbar .logo img {
    height: 40px;
}

.topbar .buttons a {
    margin-left: 20px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

    .topbar .buttons a i img {
        width: 18px;
        margin-right: 6px;
    }

.topbar .admin {
    display: flex;
    flex-direction: column;
    color: #fff;
}

    .topbar .admin span {
        color: #fff;
    }


/* ---------- Sidebar ---------- */
#sidebar {
    position: fixed;
    top: 74px;
    left: 0;
    width: 220px;
    height: calc(100vh - 74px);
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 9999;
}

    #sidebar h1 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    #sidebar .nav-link {
        color: #333;
        font-weight: 500;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 10px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

        #sidebar .nav-link:hover {
            color: #EC1C24 !important;
            background-color: #f9f9f9;
        }

        #sidebar .nav-link.active {
            background-color: rgba(236, 28, 36, 0.1);
            color: #EC1C24 !important;
        }

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
    #sidebar {
        left: -250px;
        /* hidden by default */
    }

        #sidebar.active {
            left: 0;
            /* show when toggled */
        }

    .menu-icon {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .menu-icon {
        display: none;
    }
}

.logo h5 {
    margin: 0;
}

/* Make table section responsive */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    /* border-radius: 10px; */
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    /* min-width: 800px;
  ensures scroll on small screens */
}

th,
td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    /* prevents text wrapping */
}

th {
    /* background-color: #f8f9fa;
  font-weight: 600;
  color: #333; */
    background-color: #ffff;
    font-weight: 600;
    color: #333;
    border-top: 1px solid #EEEEF1;
    border-left: 1px solid #EEEEF1;
    border-right: 1px solid #EEEEF1;
}

tr:hover {
    background-color: #f2f2f2;
}

/* Action icons */
.table-icons a {
    margin-right: 8px;
    display: inline-block;
}

.table-icons img {
    width: 20px;
    height: 20px;
}

/* Responsive: for very small screens */
@media (max-width: 576px) {

    th,
    td {
        padding: 10px;
        font-size: 14px;
    }
}

/* Even rows */
table tr:nth-child(even):not(:first-child) {
    background-color: #f9f9f9;
}

/* Odd rows */
table tr:nth-child(odd):not(:first-child) {
    background-color: #fff;
}

/* Hover effect */
table tr:hover:not(:first-child) {
    background-color: #f1f1f1;
}


/* ---------- Main content ---------- */
.main-content {
    margin-top: 74px;
    margin-left: 220px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

@media (max-width: 767.98px) {
    .main-content {
        margin-left: 0;
    }
}

.info-card {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #FBB800;
}

    .info-card h4 {
        font-size: 30px;
        font-weight: bold;
    }

    .info-card .image {
        padding: 12px;
        background-color: rgba(251, 184, 0, 0.1);
        border-radius: 50px;
    }

    .info-card .icon {
        background-color: rgba(251, 184, 0, 0.1);
        padding: 14px;
        border-radius: 50%;
    }

.card {
    border: none;
    border-radius: 14px !important;
    overflow: hidden !important;
    background-color: white;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

    .card .card-top {
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        padding: 20px;
        position: relative;
    }

        .card .card-top::before {
            content: "";
            position: absolute;
            background-image: url(/images/element.png);
            background-repeat: no-repeat;
            width: 5px;
            height: 50px;
            top: 15px;
            left: 0;
        }

        .card .card-top h5 {
            margin-bottom: 0;
            font-size: 18px;
            font-weight: 800;
        }

    .card .card-bottom {
        padding: 30px !important;
    }

/*--login section--*/
.topbar.login-section {
    padding: 140px;
    position: relative;
    z-index: 1;
}

    .topbar.login-section .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

.login-section {
    background-image: url(../images/login_bg.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

    .login-section .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 0;
        max-width: 540px;
        margin: 0 auto;
    }

        .login-section .logo img {
            width: 200px;
            max-width: 100%;
        }

    .login-section .image-section {
        height: 100%;
        padding: 20px;
        position: relative;
    }

        .login-section .image-section .image {
            border-radius: 20px;
            overflow: hidden;
        }

        .login-section .image-section img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

.login-box {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    max-width: 540px;
    margin: 0 auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

    .login-box h2 {
        margin-bottom: 30px;
        font-size: 32px;
        font-weight: 700;
        color: var(--primary_color);
    }

    .login-box .input-box {
        position: relative;
        margin: 28px 0;
    }

    .login-box label {
        font-size: 14px;
        margin-bottom: 5px;
        display: block;
        color: #333;
        background-color: #fff;
        padding: 4px 10px;
        position: absolute;
        top: -17px;
        left: 6px;
    }

    .login-box input[type="text"],
    .login-box input[type="password"],
    .login-box select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
    }

/* Eye button inside password */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
}

    .remember-me input {
        margin-right: 5px;
        accent-color: var(--primary_color);
    }

.login-box button {
    background-color: var(--primary_color);
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 2;
}

    .login-box button:hover::after {
        width: 100%;
        left: 0;
        right: auto;
    }

    .login-box button:after {
        content: "";
        position: absolute;
        left: auto;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        background-color: #980e18;
        height: 100%;
        transition: all 0.3s ease;
    }

    .login-box button:hover {
        color: #fff !important;
    }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .login-section {
        padding: 40px 20px;
        flex-direction: column;
    }

        .login-section .image-section {
            order: -1;
            /* show image above form */
            margin-bottom: 20px;
        }

    .login-box {
        max-width: 100%;
        padding: 30px 20px;
    }

        .login-box h2 {
            font-size: 26px;
        }
}

@media (max-width: 576px) {
    .login-box {
        padding: 20px 15px;
    }

        .login-box h2 {
            font-size: 22px;
        }

    .login-section .logo img {
        width: 150px;
    }
}

.login-section .image-section {
    height: 100%;
    padding: 20px;
    position: relative;
    max-width: 100%;
    overflow: hidden;
    /* hide excess */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .login-section .image-section img {
        max-width: 100%;
        max-height: 80vh;
        /* 👈 keep it within viewport */
        height: auto;
        display: block;
        object-fit: contain;
        /* scale without cropping */
    }

@media (max-width: 991px) {
    .login-section .image-section img {
        max-height: 100vh;
        /* smaller height on tablets/mobiles */
    }
}

#loader {
    position: absolute;
    left: 0;
    right: 0;
    /* background: #fff; */
    /* padding: 40px; */
    /* width: fit-content; */
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    scale: 10;
}

    #loader img {
        display: inline-block;
    }

.spinner {
    width: 8px;
    height: 8px;
    border: 1px solid var(--primary_color);
    border-top: 1px solid #fff;
    border-radius: 100%;
    position: absolute;
    top: 10;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    animation: spin 4s infinite, pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* By default, hide sidebar on small screens */
@media (max-width: 767.98px) {
    #sidebar {
        display: none;
        position: fixed;
        left: 0;
        width: 220px;
        background: #fff;
        z-index: 1;
        border-right: 1px solid #ddd;
    }

        #sidebar.active {
            display: block;
        }
}




/* breadcrumb */
.breadcrumb {
    margin-bottom: 0 !important;
}

    .breadcrumb a {
        text-decoration: none;
        color: #151515 !important;
        font-weight: 700 !important;
    }

        .breadcrumb a:hover {
            text-decoration: underline !important;
        }

    .breadcrumb .breadcrumb-item.active {
        color: var(--primary_color) !important;
        font-weight: 700 !important;
    }

/* common styles */
input {
    border: 1px solid #EEEEF1 !important;
    border-radius: 8px !important;
    padding: 10px !important;
}

select {
    border: 1px solid #EEEEF1 !important;
    border-radius: 8px !important;
    padding: 10px !important;
}

#image_uploads {
    width: 100%;
}

input:focus {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
}

.dropdown-input {
    cursor: pointer !important;
}

.form-label {
    margin-bottom: 2px !important;
}

.btn.btn-viewall {
    float: right;
    background-color: var(--primary_color);
    color: white !important;
    font-size: 14px;
    border: none;
    padding: 8px 14px;
}

    .btn.btn-viewall:hover {
        background-color: #d89e00;
    }

.btn.btn-add {
    float: right;
    background-color: var(--primary_color);
    color: white !important;
    font-size: 14px !important;
    border: none;
    /* width: 200px !important; */
    padding: 14px 10px;
}

    .btn.btn-add:hover {
        background-color: #d89e00;
    }

.btn.btn-add-new {
    float: right;
    background-color: var(--primary_color) !important;
    color: white !important;
    font-size: 14px !important;
    border: none;
    padding: 8px 14px !important;
    font-style: normal !important;
}

    .btn.btn-add-new:hover {
        background-color: #d89e00 !important;
    }

@media (min-width: 992px) {
    .search-filter-btn {
        margin-top: -67px;
    }
}

.table-btn-add-new {
    float: right;
    border: 1px solid var(--primary_color) !important;
    color: var(--primary_color) !important;
    font-size: 14px !important;
    border: none;
    padding: 8px 14px !important;
    font-style: normal !important;
}

    .table-btn-add-new:hover {
        background-color: #d89e00 !important;
        color: #fff !important;
    }

.title-text {
    font-size: 30px;
    font-weight: 800;
}

/* table styles */
.table-container {
    overflow-x: auto;
    max-width: 1000px;
}

table.view_table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: auto !important;
}

@media (max-width: 768px) {
    table.view_table {
        width: 1000px;
        border-collapse: collapse;
        border-radius: 14px;
        /* overflow: auto; */
    }
}

table.view_table th {
    background-color: #fff !important;
    text-align: left;
    padding: 10px;
}

table.view_table td {
    padding: 10px;
    vertical-align: middle;
}

table.view_table tr:nth-child(odd) {
    background-color: #f1f1f1;
}

/* .sticky-col {
      position: sticky;
      right: 0;
      background: white;
      z-index: 2;
      width: 140px;
    } */
.table_icons a {
    margin-right: 4px;
    cursor: pointer;
    /* background-color: #2a2a2a; */
    padding: 6px;
}

/* First column width */
.col-slno {
    width: 70px;
    text-align: center;
}

.table-container .dataTables_length label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
}

    .table-container .dataTables_length label select {
        margin: 0 4px;
    }

@media (max-width: 992px) {
    .table-container .dataTables_length label {
        margin-bottom: 16px;
    }
}

.table-container .dnwld_btn {
    margin-right: 8px;
}


.table-container .dataTables_paginate .pagination {
    float: right;
}

@media (max-width: 992px) {
    .table-container .dataTables_paginate .pagination {
        float: left;
    }

    .table-container .dataTables_paginate {
        margin-top: 14px;
    }
}

.table-container .dataTables_paginate .pagination .page-item.active .page-link {
    background-color: var(--primary_color);
    border: none;
}


/* Modal */
.modal {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-dialog {
    position: relative;
}

.modal-content {
    position: absolute;
    top: 0;
}



/*  organization add */
.custom-select-wrapper {
    position: relative;
}

    .custom-select-wrapper select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        padding-right: 2.5rem;
        /* space for the icon */
        padding: 14px 10px;
        margin-bottom: 10px;
        border: 1px solid #EEEEF1 !important;
        border-radius: 8px !important;
        padding: 14px 10px !important;
    }

    .custom-select-wrapper::after {
        content: "\f078";
        /* Font Awesome caret-down */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        pointer-events: none;
        color: #555;
    }

.title h3 {
    font-size: 18px;
    font-weight: 800;
}

.organization-add .form input {
    margin-bottom: 10px;
    font-size: 12px;
}

.organization-add .logo-upload-box {
    flex-direction: column;
    height: 146px;
    border: 1px solid #EEEEF1 !important;
    border-radius: 8px !important;
    padding: 14px 10px !important;
    gap: 8px;
    background-color: #fff;
}

    .organization-add .logo-upload-box:hover {
        box-shadow: rgba(100, 100, 111, 0.1) 0px 7px 29px 0px !important;
    }

    .organization-add .logo-upload-box span {
        color: #9C9BAB;
    }

    .organization-add .logo-upload-box .span-info {
        font-size: 10px;
        color: #666;
    }


.dropdown {
    cursor: pointer;
}

.dropdown-menu {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px !important;
    border-radius: 20px !important;
}

    .dropdown-menu.show {
        border: 1px solid #ced4da;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
    }

.custom-select-wrapper {
    cursor: pointer;
}


.is-invalid {
    border-color: #dc3545 !important;
    background-color: #f8d7da !important;
    background-image: none !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: 0;
}

/* organization-view */
.organization-view .card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #EEEEF1;
    border-radius: 8px;
}

.organization-view .card-title p {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin-top: 6px;
}







/*employee add form tab content css */
.employee-tab-bar {
    display: flex;
    flex-wrap: nowrap !important;
    /* width: 1000px !important; */
    overflow-x: auto !important;
    gap: 2px;
}

    .employee-tab-bar .nav-link {
        background-color: #F1F1F1 !important;
        color: #B0B0B0 !important;
        font-size: 14px !important;
        font-weight: 500;
    }

        .employee-tab-bar .nav-link.active {
            background-color: var(--primary_color) !important;
            color: #fff !important;
            font-weight: 600;
        }




#employeeForm .profile-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    #employeeForm .profile-image .edit_profile_btn {
        background-color: #F9F9F9;
        color: var(--primary_color) !important;
        font-size: 14px;
        border: none;
        padding: 8px 14px;
        margin-top: 20px;
    }



/* profile detail css */
.profile-image-section {
    background-color: #F4F4F4;
    border: 1px solid #DCDCDC;
    padding: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
}

    .profile-image-section .image img {
        width: 80px;
    }

    .profile-image-section h4 {
        margin-bottom: 8px;
        font-size: 20px;
        font-weight: 700;
    }

    .profile-image-section p {
        margin-bottom: 0;
    }

.employee_detail .title h3 {
    padding-bottom: 10px;
    border-bottom: 1px solid #F1F1F1;
}

ul.employee-info {
    list-style: none;
    padding: 0;
    margin: auto;
    /* max-width: 900px; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: #fff;
    /* border-radius: 12px; */
    /* box-shadow: 0 0 10px rgba(0,0,0,0.05); */
    padding: 20px;
}

    ul.employee-info li {
        display: flex;
        flex-direction: column;
    }

    ul.employee-info .label {
        font-size: 12px;
        color: #888;
        margin-bottom: 3px;
    }

    ul.employee-info .value {
        font-size: 16px;
        font-weight: 500;
        color: #333;
    }



.detail-section {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

    .detail-section h4 {
        font-size: 30px;
        font-weight: 700;
    }

    .detail-section p {
        /* margin-bottom: 0; */
        margin-bottom: 4px;
        font-size: 14px;
    }

    .detail-section .btn-add-new i {
        margin-left: 4px;
    }

.splash-section {
    background-image: url(../images/login_bg.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
}

/*-- store_login --*/
.topbar .logo img {
    width: 200px;
}

.topbar .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .topbar .buttons a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        background-color: #F8F8F8;
        border-radius: 8px;
        border: 1px solid rgba(8, 8, 8, 0.05);
    }




/*-- main_content_section --*/

.main-content .container-fluid {
    padding: 0 40px;
}

.main-content .welcome-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .main-content .welcome-section h1 {
        margin-bottom: 0;
        font-size: 40px;
        font-weight: bold;
        color: var(--primary_color);
    }

    .main-content .welcome-section span {
        font-size: 18px;
        color: #6b6b6b;
    }

.main-content .stock-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 14px;
    border-radius: 6px;
}

    .main-content .stock-list .left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .main-content .stock-list .left span {
            color: var(--primary_color);
            background-color: rgba(236, 28, 36, 0.1);
            padding: 10px;
            font-size: 20px;
            font-weight: 700;
            border-radius: 10px;
        }

        .main-content .stock-list .left h3 {
            font-size: 20px;
            color: #000;
        }

    .main-content .stock-list .right a {
        background-color: var(--primary_color);
        color: #fff !important;
        padding: 10px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .main-content .stock-list h1 {
        color: var(--primary_color);
        font-weight: 700;
        margin-bottom: 0;
    }


.main-content .total-orders {
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    gap: 14px;
    padding: 14px;
    background-color: #fff;
    border: 1px solid #E3E3E3;
    border-radius: 6px;
}

    .main-content .total-orders .left-section span {
        color: var(--primary_color);
        background-color: rgba(236, 28, 36, 0.1);
        font-size: 24px;
        font-weight: bold;
        padding: 10px;
        border-radius: 100%;
        max-width: 60px;
        max-height: 60px;
    }

    .main-content .total-orders .right-section {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }

    .main-content .total-orders .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .main-content .total-orders .top h2 {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 0;
        }

        .main-content .total-orders .top h1 {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary_color);
            margin-bottom: 0;
        }

    .main-content .total-orders .bottom {
        display: flex;
        gap: 30px;
    }

        .main-content .total-orders .bottom p {
            margin: 0;
            color: #9C9BAB;
        }

        .main-content .total-orders .bottom span {
            color: #000;
        }


.main-content .items-refill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    background-color: rgba(236, 28, 36, 0.12);
    border-bottom: 2px solid var(--primary_color);
    border-radius: 6px;
}

    .main-content .items-refill .left-section {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .main-content .items-refill p {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 0;
    }

    .main-content .items-refill h1 {
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 0;
        color: var(--primary_color);
    }

    .main-content .items-refill .bottom {
        display: flex;
        gap: 30px;
    }

        .main-content .items-refill .bottom p {
            margin: 0;
            color: #9C9BAB;
        }

        .main-content .items-refill .bottom span {
            color: #000;
        }


.main-content .section-3 .pos-sale {
    background-color: #E1590F;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

    .main-content .section-3 .pos-sale .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .main-content .section-3 .pos-sale .top i {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            border: 1px solid #fff;
            border-radius: 10px;
        }

    .main-content .section-3 .pos-sale .bottom h1 {
        font-size: 30px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 0;
    }

.main-content .section-3 .customers {
    background-color: #11921A;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}


    .main-content .section-3 .customers .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .main-content .section-3 .customers .top i {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            border: 1px solid #fff;
            border-radius: 10px;
        }

    .main-content .section-3 .customers .bottom h1 {
        font-size: 30px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 0;
    }

.main-content .section-3 .stocks {
    background-color: #8707AE;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}


    .main-content .section-3 .stocks .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .main-content .section-3 .stocks .top i {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            border: 1px solid #fff;
            border-radius: 10px;
        }

    .main-content .section-3 .stocks .bottom h1 {
        font-size: 30px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 0;
    }

.main-content .section-3 .products {
    background-color: #2157B4;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}


    .main-content .section-3 .products .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .main-content .section-3 .products .top i {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            border: 1px solid #fff;
            border-radius: 10px;
        }

    .main-content .section-3 .products .bottom h1 {
        font-size: 30px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 0;
    }

.main-content .section-3 .sales-return {
    background-color: #B42121;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

    .main-content .section-3 .sales-return .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .main-content .section-3 .sales-return .top i {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            border: 1px solid #fff;
            border-radius: 10px;
        }

    .main-content .section-3 .sales-return .bottom h1 {
        font-size: 30px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 0;
    }

.main-content .section-3 .report {
    background-color: #E99C00;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}


    .main-content .section-3 .report .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .main-content .section-3 .report .top i {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            border: 1px solid #fff;
            border-radius: 10px;
        }

    .main-content .section-3 .report .bottom h1 {
        font-size: 30px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 0;
    }

.main-content .section-4 {
    background-color: #fff;
    padding: 20px;
}

    .main-content .section-4 .heading h1 {
        font-size: 28px;
        font-weight: 600;
    }

    .main-content .section-4 .stocks {
        background: #F6F6F6;
        padding: 14px 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-radius: 6px;
    }

        .main-content .section-4 .stocks .top {
            display: flex;
            align-items: center;
            gap: 10px;
        }

            .main-content .section-4 .stocks .top h1 {
                color: var(--primary_color);
                font-size: 22px;
                margin-bottom: 0;
            }

        .main-content .section-4 .stocks .bottom {
            display: flex;
            gap: 6px;
        }

            .main-content .section-4 .stocks .bottom a {
                padding: 10px;
                border-radius: 8px;
                box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                background: #fff;
                font-size: 14px;
                color: #8c8c8c !important;
            }

    .main-content .section-4 .orders {
        background: #F6F6F6;
        padding: 14px 10px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-radius: 6px;
    }

        .main-content .section-4 .orders .top {
            display: flex;
            align-items: center;
            gap: 10px;
        }

            .main-content .section-4 .orders .top h1 {
                color: var(--primary_color);
                font-size: 22px;
                margin-bottom: 0;
            }

        .main-content .section-4 .orders .bottom {
            display: flex;
            gap: 6px;
        }

            .main-content .section-4 .orders .bottom a {
                padding: 10px;
                border-radius: 8px;
                box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
                background: #fff;
                font-size: 14px;
                color: #8c8c8c !important;
            }

/*--Pos Section--*/

.pos .top-section h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary_color);
}

.pos .top-section .right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pos .top-section .search-box {
    position: relative;
    width: 350px;
}

    .pos .top-section .search-box input {
        width: 100%;
        padding: 10px 35px 10px 10px;
        /* space for icon */
        border: 1px solid rgba(8, 8, 8, 0.05);
        border-radius: 25px;
        font-size: 14px;
        height: 52px;
    }

.pos .top-section .right .search-box i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.pos .top-section .right a i {
    background: #0B73C9;
    padding: 10px;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.pos .product-list {
    /* padding: 24px; */
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

    .pos .product-list td .quantity {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .pos .product-list .product .product-detail .price-quantity-detail .quantity a {
        width: 35px;
        height: 35px;
        border: none;
        background: #F5F6FA;
        color: #000;
        font-size: 20px;
        border-radius: 50%;
        cursor: pointer;
        transition: 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pos .product-list table td .quantity input {
        width: 50px;
        height: 35px;
        text-align: center;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 6px;
    }

/* ✅ Remove arrows in Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ✅ Remove arrows in Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.pos .order-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.pos .order-section-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #F5F6FA;
    border-radius: 6px;
}

    .pos .order-section-1 .left {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .pos .order-section-1 h1 {
        margin-bottom: 0;
        font-size: 24px;
        font-weight: 700;
    }

    .pos .order-section-1 p {
        margin-bottom: 0;
        font-size: 12px;
    }

    .pos .order-section-1 .right {
        background: #fff;
        padding: 10px;
        border: 1px solid #e3e3e3;
        border-radius: 8px;
    }

.pos .order-section-2 {
    padding: 20px 0;
    border-bottom: 1px solid #BFBFBF;
}

    .pos .order-section-2 .container {
        padding: 0;
    }

    .pos .order-section-2 .top h4 {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 0;
    }

    .pos .order-section-2 .input-box {
        position: relative;
        margin: 28px 0;
        width: 100%;
    }

    .pos .order-section-2 label {
        font-size: 14px;
        margin-bottom: 5px;
        display: block;
        color: #333;
        background-color: #fff;
        padding: 4px 10px;
        position: absolute;
        top: -17px;
        left: 6px;
    }

    .pos .order-section-2 input[type="text"],
    .pos .order-section-2 input[type="password"],
    .pos .order-section-2 select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
    }

    .pos .order-section-2 .bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

        .pos .order-section-2 .bottom i {
            background: #0B73C9;
            padding: 10px;
            display: flex;
            align-items: center;
            border-radius: 6px;
        }

    .pos .order-section-2 .customer-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .pos .order-section-2 .customer-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
        background: rgba(236, 28, 36, 0.06);
        border: 1px solid var(--primary_color);
        border-radius: 6px;
    }

        .pos .order-section-2 .customer-info .left-section .top h2 {
            font-size: 16px;
            font-weight: 600;
        }

    .pos .order-section-2 .customer-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
        background: rgba(236, 28, 36, 0.06);
        border: 1px solid var(--primary_color);
        border-radius: 6px;
    }

        .pos .order-section-2 .customer-info .left-section .bottom p {
            font-size: 14px;
            color: #000;
            margin-bottom: 0;
        }

.bonus {
    font-size: 12px;
    color: #fff;
    background: #0774C1;
    padding: 4px;
    border-radius: 4px;
}

.loyality {
    font-size: 12px;
    color: #fff;
    background: #D59903;
    padding: 4px;
    border-radius: 4px;
}

.pos .order-section-2 .customer-info .right-section a {
    background: var(--primary_color);
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    padding: 10px;
}

.pos .order-section-3 {
    padding: 20px 0;
    border-bottom: 1px solid #bfbfbf;
}

    .pos .order-section-3 .top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .pos .order-section-3 .top h4 {
            font-size: 20px;
            font-weight: 500;
            margin-bottom: 0;
        }

        .pos .order-section-3 .top span {
            color: #000;
            font-size: 12px;
            background: #EBEBEB;
            border-radius: 6px;
            padding: 6px;
        }

    .pos .order-section-3 .table th {
        font-size: 16px;
        font-weight: 600;
        background-color: #F5F6FA;
        color: #000;
    }

    .pos .order-section-3 .table table td {
        background: none;
    }

    .pos .order-section-3 table td input {
        width: 50px;
        height: 35px;
        text-align: center;
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 6px;
    }

.pos .order-section-4 {
    margin-top: 14px;
}

    .pos .order-section-4 .top {
        margin-bottom: 14px;
    }

        .pos .order-section-4 .top h4 {
            font-size: 20px;
            font-weight: 500;
            margin-bottom: 0;
        }

    .pos .order-section-4 ul {
        padding: 0 0 10px 0;
        border-bottom: 1px solid #bfbfbf;
        margin-bottom: 0;
    }

        .pos .order-section-4 ul li {
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }

            .pos .order-section-4 ul li p {
                font-size: 14px;
                margin-bottom: 0px;
            }

                .pos .order-section-4 ul li p i {
                    margin-left: 4px;
                }

                .pos .order-section-4 ul li p.discount {
                    color: var(--primary_color);
                }

                .pos .order-section-4 ul li p.redeem {
                    color: #029F0C;
                }

    .pos .order-section-4 .bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 10px;
    }

        .pos .order-section-4 .bottom h4 {
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 0;
        }

.pos .payment-methods {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

    .pos .payment-methods .top h4 {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 0;
    }

    .pos .payment-methods ul {
        padding: 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 14px;
    }

        .pos .payment-methods ul li {
            list-style: none;
            padding: 10px;
            /*border: 1px solid #bfbfbf;*/
            border-radius: 6px;
        }

            .pos .payment-methods ul li a {
                display: flex;
                align-items: center;
                gap: 10px;
            }

.pos .total-price {
    padding: 20px 0;
}

    .pos .total-price .grand-total {
        font-size: 16px;
        font-weight: 600;
        color: #fff !important;
        background: var(--primary_color);
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }



/*--Customer View Section--*/

.customer-view-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

    .customer-view-section-top .heading {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .customer-view-section-top .heading h1 {
            margin-bottom: 0;
            font-size: 40px;
            font-weight: bold;
            color: var(--primary_color);
        }

        .customer-view-section-top .heading p {
            color: #807F94;
            font-size: 14px;
            margin-bottom: 0;
        }


    .customer-view-section-top .button {
        display: flex;
        gap: 10px;
    }

    .customer-view-section-top a {
        padding: 10px;
        border: 1px solid var(--primary_color);
        color: var(--primary_color) !important;
        font-size: 18px;
        font-weight: 500;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

.customer-view-table-section {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

    .customer-view-table-section .table-icons a {
        margin-right: 4px;
        cursor: pointer;
        /* background-color: #2a2a2a; */
        padding: 6px;
        border: 1px solid #E3E3E3;
        border-radius: 6px;
    }


    .customer-view-table-section .search-box {
        position: relative;
        width: 250px;
    }

        .customer-view-table-section .search-box input {
            width: 100%;
            padding: 10px 35px 10px 10px;
            /* space for icon */
            border: 1px solid rgba(8, 8, 8, 0.05);
            border-radius: 25px;
            font-size: 14px;
            height: 52px;
        }

        .customer-view-table-section .search-box i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }





/*--Stock View Section--*/

.stock-view-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

    .stock-view-section-top .heading {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .stock-view-section-top .heading h1 {
            margin-bottom: 0;
            font-size: 40px;
            font-weight: bold;
            color: var(--primary_color);
        }

        .stock-view-section-top .heading p {
            color: #807F94;
            font-size: 14px;
            margin-bottom: 0;
        }


    .stock-view-section-top .button {
        display: flex;
        gap: 10px;
    }

    .stock-view-section-top a {
        padding: 10px;
        border: 1px solid var(--primary_color);
        color: var(--primary_color) !important;
        font-size: 18px;
        font-weight: 500;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

.stock-view-table-section {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

    .stock-view-table-section .table-icons a {
        margin-right: 4px;
        cursor: pointer;
        /* background-color: #2a2a2a; */
        padding: 6px;
        border: 1px solid #E3E3E3;
        border-radius: 6px;
    }


    .stock-view-table-section .search-box {
        position: relative;
        width: 250px;
    }

        .stock-view-table-section .search-box input {
            width: 100%;
            padding: 10px 35px 10px 10px;
            /* space for icon */
            border: 1px solid rgba(8, 8, 8, 0.05);
            border-radius: 25px;
            font-size: 14px;
            height: 52px;
        }

        .stock-view-table-section .search-box i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }



/*--Products View Section--*/

.products-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px;
    border: 1px solid #dcdcdc;
    border-radius: 9px;
    background-color: #fff;
    margin-bottom: 15px;
}

    .products-section-top .heading {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .products-section-top .heading h1 {
            margin-bottom: 0;
            font-size: 20px;
            font-weight: bold;
            color: var(--primary_color);
        }

        .products-section-top .heading p {
            color: #807F94;
            font-size: 14px;
            margin-bottom: 0;
        }


    .products-section-top .button {
        display: flex;
        gap: 10px;
    }

    .products-section-top a {
        padding: 5px;
        border: 1px solid var(--primary_color);
        color: var(--primary_color) !important;
        font-size: 13px;
        font-weight: 500;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

.products-view-table-section {
    border: 1px solid #dcdcdc;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

    .products-view-table-section .table-icons a {
        margin-right: 4px;
        cursor: pointer;
        /* background-color: #2a2a2a; */
        padding: 6px;
        border: 1px solid #E3E3E3;
        border-radius: 6px;
    }


    .products-view-table-section .search-box {
        position: relative;
        width: 250px;
    }

        .products-view-table-section .search-box input {
            width: 100%;
            padding: 10px 35px 10px 10px;
            /* space for icon */
            border: 1px solid rgba(8, 8, 8, 0.05);
            border-radius: 25px;
            font-size: 14px;
            height: 52px;
        }

        .products-view-table-section .search-box i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }



/*--Sales Return View Section--*/

.sales-view-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

    .sales-view-section-top .heading {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .sales-view-section-top .heading h1 {
            margin-bottom: 0;
            font-size: 40px;
            font-weight: bold;
            color: var(--primary_color);
        }

        .sales-view-section-top .heading p {
            color: #807F94;
            font-size: 14px;
            margin-bottom: 0;
        }


    .sales-view-section-top .button {
        display: flex;
        gap: 10px;
    }

    .sales-view-section-top a {
        padding: 10px;
        border: 1px solid var(--primary_color);
        color: var(--primary_color) !important;
        font-size: 18px;
        font-weight: 500;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

.sales-view-table-section {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

    .sales-view-table-section .table-icons a {
        margin-right: 4px;
        cursor: pointer;
        /* background-color: #2a2a2a; */
        padding: 6px;
        border: 1px solid #E3E3E3;
        border-radius: 6px;
    }


    .sales-view-table-section .search-box {
        position: relative;
        width: 250px;
    }

        .sales-view-table-section .search-box input {
            width: 100%;
            padding: 10px 35px 10px 10px;
            /* space for icon */
            border: 1px solid rgba(8, 8, 8, 0.05);
            border-radius: 25px;
            font-size: 14px;
            height: 52px;
        }

        .sales-view-table-section .search-box i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }

    .sales-view-table-section td.success span {
        color: #fff;
        font-size: 12px;
        background: #059E1C;
        height: 14px;
        padding: 6px;
        border-radius: 6px;
    }

    .sales-view-table-section td.unsuccess span {
        color: #fff;
        font-size: 12px;
        background: #D59903;
        height: 14px;
        padding: 6px;
        border-radius: 6px;
    }

    .sales-view-table-section td.payment-status-success span {
        color: #059E1C;
        font-size: 12px;
        background: rgba(5, 158, 28, 0.1);
        height: 14px;
        padding: 6px;
        border-radius: 6px;
    }

    .sales-view-table-section td.payment-status-unsuccess span {
        color: #B00609;
        font-size: 12px;
        background: rgba(176, 6, 9, 0.1);
        height: 14px;
        padding: 6px;
        border-radius: 6px;
    }


/*-- Modal Styles --*/

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    max-width: 60%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

    .modal-content h3 {
        text-align: left;
    }

/* ✅ Scrollable wrapper for the table */
.table-wrapper {
    overflow-x: auto;
    margin-top: 15px;
}

    .table-wrapper table {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px;
        /* prevents squeezing columns */
    }

    .table-wrapper th,
    .table-wrapper td {
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid #ddd;
        white-space: nowrap;
    }

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 10px;
}

    .modal-buttons a {
        padding: 10px 18px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

        .modal-buttons a.close {
            background: #4f4f4f;
            color: #fff !important;
        }

        .modal-buttons a.add-stock {
            background: var(--primary_color);
            color: #fff !important;
        }



.form-group {
    text-align: left;
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        font-weight: 500;
        margin-bottom: 6px;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
    }



.modal .input-box {
    position: relative;
    margin: 28px 0;
}

.modal label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    color: #333;
    background-color: #fff;
    padding: 4px 10px;
    position: absolute;
    top: -17px;
    left: 6px;
}

.modal input {
    width: 100%;
}

    .modal input[type="text"],
    .modal input[type="password"],
    .modal select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
    }


input[type="checkbox"] {
    accent-color: red;
    /* Works on all modern browsers */
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.modal ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-top: 20px;
    gap: 10px;
}

    .modal ul li i {
        padding: 10px;
        background: #fff;
        border-radius: 6px;
    }

    .modal ul li {
        list-style: none;
        background: #fff;
        padding: 10px;
        display: flex;
        align-items: center;
        gap: 6px;
        border-radius: 10px;
        border: 1px solid #EEEEF1;
    }

        .modal ul li.active {
            border-bottom: 2px solid var(--primary_color);
        }

            .modal ul li.active i {
                background-color: rgba(236, 28, 36, 0.1);
            }

.modal textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
}

.report-page .heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .report-page .heading h1 {
        margin-bottom: 0;
        font-size: 40px;
        font-weight: bold;
        color: var(--primary_color);
    }

.report-page .report {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 14px;
    background-color: #fff;
    border-radius: 10px;
}

    .report-page .report h1 {
        font-size: 22px;
        font-weight: 700;
    }

    .report-page .report i {
        background-color: rgba(236, 28, 36, 0.1);
        padding: 14px;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }


.filter-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    /* margin-top: 20px; */
}

    .filter-section .input-box {
        position: relative;
        margin: 28px 0;
    }

    .filter-section label {
        font-size: 14px;
        margin-bottom: 5px;
        display: block;
        color: #333;
        background-color: #fff;
        padding: 4px 10px;
        position: absolute;
        top: -17px;
        left: 6px;
    }

    .filter-section input[type="text"],
    .filter-section input[type="password"],
    .filter-section select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
    }

    .filter-section span {
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .filter-section .button {
        display: flex;
        justify-content: flex-end;
    }

    .filter-section .filter-search {
        background-color: var(--primary_color);
        padding: 10px;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 140px !important;
        color: #fff !important;
        font-size: 16px;
        font-weight: 700;
        border-radius: 6px;
    }




/*--Stock Report Start--*/

.stock-report-table-section {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

    .stock-report-table-section .table-icons a {
        margin-right: 4px;
        cursor: pointer;
        /* background-color: #2a2a2a; */
        padding: 6px;
        border: 1px solid #E3E3E3;
        border-radius: 6px;
    }


    .stock-report-table-section .search-box {
        position: relative;
        width: 250px;
    }

        .stock-report-table-section .search-box input {
            width: 100%;
            padding: 10px 35px 10px 10px;
            /* space for icon */
            border: 1px solid rgba(8, 8, 8, 0.05);
            border-radius: 25px;
            font-size: 14px;
            height: 52px;
        }

        .stock-report-table-section .search-box i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }

/*--Stock Report End--*/



/*--Stock Refill Start--*/

.stock-refill-table-section {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

    .stock-refill-table-section .table-icons a {
        margin-right: 4px;
        cursor: pointer;
        /* background-color: #2a2a2a; */
        padding: 6px;
        border: 1px solid #E3E3E3;
        border-radius: 6px;
    }


    .stock-refill-table-section .search-box {
        position: relative;
        width: 250px;
    }

        .stock-refill-table-section .search-box input {
            width: 100%;
            padding: 10px 35px 10px 10px;
            /* space for icon */
            border: 1px solid rgba(8, 8, 8, 0.05);
            border-radius: 25px;
            font-size: 14px;
            height: 52px;
        }

        .stock-refill-table-section .search-box i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }

/*--Stock Refill End--*/



/*--Sales Report Start--*/
.sales-report-table-section {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

    .sales-report-table-section .table-icons a {
        margin-right: 4px;
        cursor: pointer;
        /* background-color: #2a2a2a; */
        padding: 6px;
        border: 1px solid #E3E3E3;
        border-radius: 6px;
    }


    .sales-report-table-section .search-box {
        position: relative;
        width: 250px;
    }

        .sales-report-table-section .search-box input {
            width: 100%;
            padding: 10px 35px 10px 10px;
            /* space for icon */
            border: 1px solid rgba(8, 8, 8, 0.05);
            border-radius: 25px;
            font-size: 14px;
            height: 52px;
        }

        .sales-report-table-section .search-box i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }

/*--Sales Report End--*/

/*--dashboard Items Section--*/

.dashboard-items-section .dashboard-item {
    padding: 10px;
    background-color: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-items-section .col-lg-3:nth-child(1) .dashboard-item {
    border-bottom: 2px solid #E1590F;
}

.dashboard-items-section .col-lg-3:nth-child(1) .card-icon img {
    padding: 10px;
    background-color: rgba(225, 89, 15, 0.1);
    border-radius: 10px;
}

.dashboard-items-section .col-lg-3:nth-child(1) .card-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: #E1590F;
    margin-bottom: 0;
}

.dashboard-items-section .col-lg-3:nth-child(1) .card-info span {
    font-size: 14px;
    font-weight: 500;
    color: #020202;
    margin-bottom: 0;
    margin-top: 6px;
}


.dashboard-items-section .col-lg-3:nth-child(2) .dashboard-item {
    border-bottom: 2px solid #11921A;
}

.dashboard-items-section .col-lg-3:nth-child(2) .card-icon img {
    padding: 10px;
    background-color: rgba(17, 146, 26, 0.1);
    border-radius: 10px;
}

.dashboard-items-section .col-lg-3:nth-child(2) .card-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: #11921A;
    margin-bottom: 0;
}

.dashboard-items-section .col-lg-3:nth-child(2) .card-info span {
    font-size: 14px;
    font-weight: 500;
    color: #020202;
    margin-bottom: 0;
    margin-top: 6px;
}



.dashboard-items-section .col-lg-3:nth-child(3) .dashboard-item {
    border-bottom: 2px solid #8707AE;
}

.dashboard-items-section .col-lg-3:nth-child(3) .card-icon img {
    padding: 10px;
    background-color: rgba(135, 7, 174, 0.1);
    border-radius: 10px;
}

.dashboard-items-section .col-lg-3:nth-child(3) .card-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: #8707AE;
    margin-bottom: 0;
}

.dashboard-items-section .col-lg-3:nth-child(3) .card-info span {
    font-size: 14px;
    font-weight: 500;
    color: #020202;
    margin-bottom: 0;
    margin-top: 6px;
}




.dashboard-items-section .col-lg-3:nth-child(4) .dashboard-item {
    border-bottom: 2px solid #2157B4;
}

.dashboard-items-section .col-lg-3:nth-child(4) .card-icon img {
    padding: 10px;
    background-color: rgba(33, 87, 180, 0.1);
    border-radius: 10px;
}

.dashboard-items-section .col-lg-3:nth-child(4) .card-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2157B4;
    margin-bottom: 0;
}

.dashboard-items-section .col-lg-3:nth-child(4) .card-info span {
    font-size: 14px;
    font-weight: 500;
    color: #020202;
    margin-bottom: 0;
    margin-top: 6px;
}

/*--Inventory Section--*/

.inventory-section {
    background: #fff;
    padding: 20px;
}

    .inventory-section .heading h1 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 0;
    }

    .inventory-section .inventory-item {
        background: #F3F4F5;
        padding: 14px 10px;
        border-radius: 6px;
        margin-top: 14px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        .inventory-section .inventory-item .icon {
            display: flex;
            align-items: center;
            gap: 10px;
        }

            .inventory-section .inventory-item .icon h2 {
                font-size: 22px;
                font-weight: 600;
                margin-bottom: 0;
                color: var(--primary_color);
            }

        .inventory-section .inventory-item ul {
            padding: 0;
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 0;
        }

            .inventory-section .inventory-item ul li {
                list-style: none;
                display: flex;
                align-items: center;
                gap: 6px;
                padding: 10px;
                background: #fff;
                border-radius: 8px;
            }

.inventory-menu .collapse {
    padding: 0;
}

    .inventory-menu .collapse .nav-link {
        font-size: 14px !important;
        font-weight: 500 !important;
    }

    .inventory-menu .collapse .active-new {
        color: var(--primary_color) !important;
    }



.products-admin-add-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

    .products-admin-add-section .input-box {
        position: relative;
        margin: 28px 0;
        display: flex;
        flex-direction: column;
    }

        .products-admin-add-section .input-box label {
            font-size: 14px;
            margin-bottom: 5px;
            display: block;
            color: #333;
            background-color: #fff;
            padding: 4px 10px;
            position: absolute;
            top: -17px;
            left: 6px;
        }

        .products-admin-add-section .input-box input {
            border: 1px solid #EEEEF1 !important;
            border-radius: 8px !important;
            padding: 10px !important;
        }

            .products-admin-add-section .input-box input:focus {
                box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
            }

    .products-admin-add-section input[type="text"],
    .products-admin-add-section input[type="password"],
    .products-admin-add-section select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
    }

    .products-admin-add-section .stock-status span {
        font-size: 12px;
        border-radius: 6px;
        padding: 6px 4px;
        background: #059E1C;
        color: #fff;
    }

    .products-admin-add-section .form-btn {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 20px;
    }

        .products-admin-add-section .form-btn .close {
            background-color: #fff;
            color: #000 !important;
            padding: 10px;
        }

        .products-admin-add-section .form-btn .add-product {
            background-color: var(--primary_color);
            color: #fff !important;
            padding: 10px 14px;
            border-radius: 6px;
        }



/*--Store Admin View Section--*/

.store-view-table-section {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

    .store-view-table-section .table-icons a {
        margin-right: 4px;
        cursor: pointer;
        /* background-color: #2a2a2a; */
        padding: 6px;
        border: 1px solid #E3E3E3;
        border-radius: 6px;
    }


    .store-view-table-section .search-box {
        position: relative;
        width: 250px;
    }

        .store-view-table-section .search-box input {
            width: 100%;
            padding: 10px 35px 10px 10px;
            /* space for icon */
            border: 1px solid rgba(8, 8, 8, 0.05);
            border-radius: 25px;
            font-size: 14px;
            height: 52px;
        }

        .store-view-table-section .search-box i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            pointer-events: none;
        }


.store-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

    .store-section-top .heading {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .store-section-top .heading h1 {
            margin-bottom: 0;
            font-size: 40px;
            font-weight: bold;
            color: var(--primary_color);
        }

        .store-section-top .heading p {
            color: #807F94;
            font-size: 14px;
            margin-bottom: 0;
        }


    .store-section-top .button {
        display: flex;
        gap: 10px;
    }

    .store-section-top a {
        padding: 10px;
        border: 1px solid var(--primary_color);
        color: var(--primary_color) !important;
        font-size: 18px;
        font-weight: 500;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

.store-admin-add-section {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
}

    .store-admin-add-section .input-box {
        position: relative;
        margin: 16px 0;
        display: flex;
        flex-direction: column;
    }

        .store-admin-add-section .input-box label {
            font-size: 14px;
            margin-bottom: 5px;
            display: block;
            color: #333;
            background-color: #fff;
            padding: 4px 10px;
            position: absolute;
            top: -17px;
            left: 6px;
        }

        .store-admin-add-section .input-box input {
            border: 1px solid #EEEEF1 !important;
            border-radius: 8px !important;
            padding: 10px !important;
        }

            .store-admin-add-section .input-box input:focus {
                box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
            }

    .store-admin-add-section input[type="text"],
    .store-admin-add-section input[type="password"],
    .store-admin-add-section select {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 5px;
        outline: none;
    }

    .store-admin-add-section .stock-status span {
        font-size: 12px;
        border-radius: 6px;
        padding: 6px 4px;
        background: #059E1C;
        color: #fff;
    }

    .store-admin-add-section .form-btn {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 20px;
    }

        .store-admin-add-section .form-btn .close {
            background-color: #fff;
            color: #000 !important;
            padding: 10px;
        }

        .store-admin-add-section .form-btn .add-store {
            background-color: var(--primary_color);
            color: #fff !important;
            padding: 10px 14px;
            border-radius: 6px;
        }


/*purchase detail*/
/*new classes*/
.small-card {
    padding: 0.4rem 0.8rem; /* less padding */
    font-size: 0.85rem; /* small text */
    max-width: 300px; /* control width */
    min-height: 50px; /* reduced height */
    line-height: 1.2;
    border-radius: 0.3rem; /* optional, rounded corners */
}

td span.active {
    color: #fff;
    font-size: 12px;
    background: #059E1C;
    padding: 6px;
    border-radius: 6px;
    min-width: 58px;
    min-height: 58px;
}

td span.inactive {
    color: #fff;
    font-size: 12px;
    background: #D59903;
    padding: 6px;
    border-radius: 6px;
    min-width: 58px;
    min-height: 58px;
}

.cusactive {
    font-size: 12px;
    color: #fff;
    background: #059E1C;
    padding: 4px;
    border-radius: 4px;
}

.cusinactive {
    font-size: 12px;
    color: #fff;
    background: #D59903;
    padding: 4px;
    border-radius: 4px;
}

.low-stock {
    color: #059E1C;
    font-size: 12px;
    background: rgba(5, 158, 28, 0.1);
    height: 14px;
    padding: 6px;
    border-radius: 6px;
}

.high-stock {
    color: #B00609;
    font-size: 12px;
    background: rgba(176, 6, 9, 0.1);
    height: 14px;
    padding: 6px;
    border-radius: 6px;
}

/*pagination*/
.pagination .active .page-link {
    background-color: #e4e4e4 !important;
    border: 1px solid #000;
}

/*excel*/
.excel {
    background: #c4f7df;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1px solid #79b498;
}

    .excel img {
        width: 20px;
        margin-right: 8px;
    }


.order-section {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
}

    .order-section .offer-details-card {
        background: rgba(236, 28, 36, 0.06);
        border: 1px solid var(--primary_color);
        border-left: 4px solid var(--primary_color);
        border-radius: 8px;
    }

.customer-details-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
}
/*
    new
*/
/* override rules: default assume no sidebar, opt-in when sidebar is present */
.main-content {
    margin-top: 74px;
    margin-left: 0; /* default: no sidebar */
    padding: 20px;
    transition: margin-left 0.3s ease;
}

/* when layout renders sidebar, push content */
body.with-sidebar .main-content {
    margin-left: 220px;
}

/* keep mobile behaviour */
@media (max-width: 767.98px) {
    body.with-sidebar .main-content,
    body.no-sidebar .main-content {
        margin-left: 0;
    }
}
