* {
    font-family: "Geist", sans-serif;
}
h1, h2, h3, h4, h5, h6, p, span, a, button, input, textarea, select, option, label, li, ul, ol, div, form, table, th, td, tr, tbody, thead, tfoot, caption, code, pre, blockquote, hr, fieldset, legend, article, aside, details, summary, mark, time, audio, video {
    font-family: "Geist", sans-serif;
}

.d-flex {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.flex-col {
    flex-direction: column !important;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pe-0 {
    padding-right: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.w-100 {
    width: 100% !important;
}

.rounded {
   border-radius: 8px !important;
}

.left-rounded {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.right-rounded {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}


.chart-container {
    height: 80%;
}
/* input {
    border-radius: 8px !important;
} */

.rounded-4 {
    border-radius: 4px !important;
 }

.border-0 {
    border: none !important;
}

.margin-left-5 {
    margin-left: 5px !important;
}

.margin-right-5 {
    margin-right: 5px !important;
}

.border-bottom {
    border-bottom: 5px solid !important;
}

.border-radius-top-4 {
    border-radius: 4px 4px 0 0;
}

.border-radius-top-8 {
    border-radius: 8px 8px 0 0;
}

.reduce-opacity {
    opacity: 0.1;
}

.erp-dashboard {
    padding-bottom: 2.5rem !important;
}

/* override originals */
.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    border-radius: 8px;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 8px;
}

.select2-container--default .select2-search--dropdown .select2-search__field, .select2-container--default.select2-container--focus .select2-selection--multiple {
    background-color: unset !important;
}

.add-product-price-table th {
    background-color: #461EAE !important;   
}

.sidebar-custom {
    position: fixed;
    overflow-y: auto;
    /* position: fixed;
    top: 0;
    left: 0;
    bottom: 0; */
    z-index: 1000;
}

/* Location Filter Box */
.location-filter-box {
    background: linear-gradient(to right, #2c3e506b, #34495ea2);
    border-radius: 6px;
    padding: 15px;
    color: #fff;
    margin-top: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 1px rgb(255, 255, 255);
  }
  
  .icon-circle {
    width: 45px;
    height: 45px;
    background-color: #4f46e5;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    color: #fff;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .label-text {
    float: left;
    margin-left: 10px;
  }
  
  .location-controls {
    margin: 0 0 !important;
  }

  .dashboard-date-filter {
    margin: 0 0 0 0 !important;
  }

  .location-controls .select2-container--default .select2-selection--single {
    border-radius: 5px !important;
    border: 0 !important;
  }
  
  .location-label {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 100px;
  }

/* Card Background Colors */
.bg-green-card {
    background-color: #F7FEFC;
}

.bg-blue-card {
    background-color: #F7F9FF;
}

.bg-yellow-card {
    background-color: #FFFBF5;
}

.bg-pink-card {
    background-color: #FEF9FB;
}

.bg-purple-card {
    background-color: #FCFAFF;
}

.bg-light-yellow-card {
    background-color: #FFFDF4;
}

.bg-sky-card {
    background-color: #F7FCFF;
}

.bg-gray-card {
    background-color: #FCFCFD;
}

.bg-content-header {
    background-color: #F4F5FD;
}

/* Icon Background Colors */
.bg-green-icon {
    background-color: #D1FAE5;
}

.bg-blue-icon {
    background-color: #CCE8FF;
}

.bg-yellow-icon {
    background-color: #FEF3C7;
}

.bg-pink-icon {
    background-color: #FFE4E6;
}

.bg-purple-icon {
    background-color: #EDE9FE;
}

.bg-light-yellow-icon {
    background-color: #FEF9C3;
}

.bg-sky-icon {
    background-color: #CFFAFE;
}

.bg-gray-icon {
    background-color: #F1F5F9;
}

/* Card Border Bottom Colors */
.card-border-bottom-green {
    border-color: #6BC4B5 !important;
}

.card-border-bottom-blue {
    border-color: #9096F2 !important;
}

.card-border-bottom-yellow {
    border-color: #F5AB69 !important;
}

.card-border-bottom-pink {
    border-color: #F081A5 !important;
}

.card-border-bottom-purple {
    border-color: #BB8CF5 !important;
}

.card-border-bottom-light-yellow {
    border-color: #EDBF66 !important;
}

.card-border-bottom-sky {
    border-color: #70B9EC !important;
}

.card-border-bottom-gray {
    border-color: #9BA3AF !important;
}

.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 -5px 10px rgba(0,0,0,0.1);
    z-index: 1050;
    width: 100%;
}

.tw-dw-btn:hover {
    background-color: #8cbaf6 !important;
    /* color: white !important; */
}

/* Override Breadcrumb Styles */
.breadcrumb {
    padding: 8px 0px !important;
    margin-bottom: 0 !important;
    background-color: unset !important;
    @media (min-width: 768px) {
        display: flex !important;
    }
}

.breadcrumb .breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb>li {
    display: flex !important;
    align-items: center !important;
}

.breadcrumb > li + li:before {
    content: ">\00a0" !important;
}

.breadcrumb .active .active-text {
    background-color: rgba(255, 255, 255, 0.589);
    padding: 4px 10px;
    border-radius: 25px;
}

.location-box-container {
    background: #F4F5FD;
    border-radius: 6px;
    padding: 15px;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;

    @media (max-width: 768px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.location-box-container .icon-circle {
    background-color: #4e46e57a !important;
}

.permission-group {
    box-shadow: 0 0 1px 0px #000000ad;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 5px solid #003bb0;
    padding-block: 10px;
}

.permission-group .checkbox {
        /* margin-top: 0px !important; */
        margin-bottom: 0px !important;
}

/* Discount Chip Styles */
.pos-discounts {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.discount-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}

.discount-chip.common-discount {
    background-color: #FEF3C7;
    color: #92400E;
}

.discount-chip.seasonal-offer {
    background-color: #E0E7FF;
    color: #3730A3;
}

.discount-chip.distributor-margin {
    background-color: #D1FAE5;
    color: #065F46;
}

@media (max-width: 575.98px) {
    .mobile-discount-layout {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
}

.page-bottom-margin {
    margin-bottom: 40px;
}

.dt-buttons {
    margin-bottom: 0 !important;
}

.footer-margin {
    margin-bottom: 65px;
}

.main-content-left-margin {
    margin-left: 250px;

    @media (max-width: 1023px) {
        margin-left: 0;
    }
}

.mobile-stock-info {
    gap: 5px;
    @media (max-width: 1024px) {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
    }
}