:root {
    --color-blue: #006dee;
    --color-red: #ee0000;
}
body{
    overflow-y: scroll !important;
}

.is-invalid {
    border-color: var(--color-red);
}
.cancel-btn {
    background-color: transparent;
    color: var(--color-blue);
    border: 1px solid var(--color-blue);
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.cancel-btn:hover {
    color: var(--color-blue);
    border: 1px solid var(--color-blue);
}

input[readonly] {
    background-color: #e9ecef; /* or any grey color you prefer */
    /* Optionally, you can also style the text color or border */
    color: #495057;
    border-color: #ced4da;
    pointer-events: none;
}
.accordion-item .accordion-button {
    box-shadow: none;
    border-bottom: none !important;
}
.accordion-item .accordion-button::after {
    margin-left: 0.5rem;
    transform: rotate(270deg) !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-active-icon);
    transform: var(--bs-accordion-btn-icon-transform);
    transform: rotate(360deg) !important;
}

.shipping_address_wrapper {
    padding: 1rem 0.75rem;
}
.nav-link {
    font-weight: 600;
    color: #2e384d;
    border: none !important;
}

.nav-link.active {
    background-color: #e7f0fd !important;
    color: var(--color-blue) !important;
    font-weight: 600;
    border-radius: 0.3rem;
}
.nav-tabs {
    border-bottom: none;
}

/* -------------------------------------Table styling below----------------------------------- */
table {
    border-bottom: none !important;
}
table {
    border-collapse: separate; /* Required for border-radius to work */
    border-spacing: 0; /* Ensures no gaps between cells */
    border-radius: 10px; /* Apply border-radius */
    overflow: hidden;
    border-top: 2px solid var(--bs-border-color);
    border-bottom: 2px solid var(--bs-border-color);
}

/* Round top corners */
table thead tr:first-child th:first-child {
    border-top-left-radius: 10px;
}
table thead tr:first-child th:last-child {
    border-top-right-radius: 10px;
}
/* Round bottom corners */
table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}
table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
.table th {
    background-color: #e5f0fe;
    color: #30384b;
    padding: 0.8rem;
    border-bottom: 2px solid var(--bs-border-color);
}
#productTable tr td a,
#salesOrderTable tr td a {
    padding: 0;
    margin: 0;
    color: var(--color-blue);
}
.table td {
    vertical-align: middle;
    color: #30384b;
    border-bottom: 2px solid var(--bs-border-color);
}
/* -------------------------------------Table styling above ----------------------------------- */

.search-container svg {
    cursor: pointer;
}
.product-table-header {
    font-size: 20px;
    letter-spacing: 0.56px;
    color: #2e384d;
}
.search-bar .bi-search {
    top: 0.8rem;
    right: 1rem;
}
.logo-wrapper img {
    height: 4rem;
    width: auto;
}
.app_name_wrapper .app_name {
    font-size: 1.5rem;
    letter-spacing: 0.67px;
    color: #2e384d;
}
.app_name_wrapper p {
    font-size: 0.875rem;
    letter-spacing: 0.39px;
    color: #687790;
}
.app-header-wrapper {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.app-header-wrapper a {
    font-size: 15px;
}
.gfdiv {
    background-color: #e5f0fe;
    color: #2c364a;
}
.help-page h4 {
    font-size: 1.5rem;
}
.help-page ol {
    padding-left: 2rem;
}
.help-page ol li {
    margin: 7px 0;
    list-style: auto;
}
#fetchProductsBtn,
#connectBtn {
    background-color: var(--color-blue);
    white-space: nowrap;
}
#actions_col a {
    font-size: 16px;
    white-space: nowrap;
}
.select2-container{
    width: 100% !important;
}
.select2-container .select2-selection--single {
    height: 38px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 40px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 40px;
    right: 10px;
}
#exampleDataList,
#searchProduct {
    width: 300px;
}
.login-link,
.signUp-link {
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.green-tick-icon {
    font-size: 30px;
    top: 5px;
}
.select2-selection__clear {
    position: relative;
    height: 100% !important;
    right: 10px;
    top: 2px;
}
.sales-order-header-wrapper {
    background-color: #6b778e;
}
.email-wrapper ul,
.pass-wrapper ul {
    padding-left: 0;
}
.search-bar input,
svg {
    border: 1px solid #dfdfdf !important;
}
.pagination {
    color: #687790;
}
.btn-danger,
.bg-danger {
    background-color: #ee0000 !important;
}
.btn-primary,
.card-header,
.bg-primary {
    background-color: var(--color-blue) !important;
}
#addMapping {
    color: var(--color-blue);
}
.text-danger {
    color: var(--color-red) !important;
}

.view-sales-header{
    color: #2E384D;
    font-size: 20px;
}
.search-container .bi-search{
    top: 12px;
    right: 10px;
    border: none !important;
    /* cursor: none; */
}
.search-container .bi-arrow-repeat{
    /* top: 17px; */
    right: 30px; 
    padding: 10px;
}
.search-container .position-relative{
width: 95%;
}
#view-sales-orders-container .card-body p,th,td{ 
    margin-bottom: 0.5rem;
    font-size: 16px;
}
#view-sales-orders-container .card-body p:first-child{ 
    color: #30384B  ;
    /* font-size: 18px; */
}
#view-sales-orders-container .card-body ul{
    padding-left: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}
#view-sales-orders-container .card-body ul table{
   border: none;
}
#view-sales-orders-container .card-body p:nth-child(2) strong{ 
    width: auto;
    color: #687790;
}
#view-sales-orders-container .card-body p:nth-child(2){ 
    color: #006DEE;
    font-weight: bold;
}
#view-sales-orders-container .card-body ul table{ 
   width: 100%;
}
#view-sales-orders-container .card-body ul table thead,.tax-include-text{ 
    color: #687790;
}
#view-sales-orders-container .card-body ul table thead th{ 
    font-weight: normal;
}
#view-sales-orders-container .card-body  strong{ 
    display: inline-block;
    width: 73%;
}
.tax-include-text{
    font-size: 16px;
}
.text-muted{
    color: #687790 !important  ;
    font-size: 16px;   
    font-weight: normal !important;
}
.text-muted span{
    color: #30384B;
}

/* Hide the volume control */
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button {
    display: none !important;
}

i.fas.fa-copy{
    cursor: pointer;
}

.product-suggestions {
    position: absolute;
    width: 83%; /* Ensures it matches the input field */
    /* max-width: 500px;  Optional: Set a max width */
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    overflow: hidden;
    z-index: 1000;
}
.product-suggestion-item {
    padding: 5px 10px 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}
.product-suggestion-item i {
    margin-right: 10px;
    color: #007bff;
}
.product-suggestion-item:hover {
    background: #007bff;
    color: white;
}

.offcanvas-backdrop.show {
    opacity: 0;
}
.offcanvas-backdrop {
  z-index: -100;
}
.reduce-body-width{
    max-width: 80%;
}
#offcanvasRight{
    width: 30%;
}