input,
input::placeholder {
    font-size: revert;
}
.product-options .curt-opt-img {
     width: 50px;
}
#location {
     width: -webkit-fill-available;
}
.bs-alert.btn-close {
   padding: 0.5rem !important;
    margin-left: 0.5rem; 
}
.quote-order {
     background-color: #f9f9f9;
     padding: 20px;
     border-radius: 8px;
     border: 1px solid #e5e7eb;
     position: relative; /* Allows absolute button positioning inside */
}
.cm_measue_lable_input_width {
     display: grid;
     grid-template-columns: 1fr .69fr .19fr !important;
     align-items: center;
     grid-column-gap: 8px;
     margin-bottom: 15px;
}
.instat_price_btn h3 {
     font-size: 16px;
     font-weight: 600;
}
.quote-form-wrap input:focus, .quote-form-wrap select:focus, .quote-form-wrap textarea:focus {
     box-shadow: 0 0 0 0.1rem #f08a01;
     border-color: #f08a02;
}
.bg-green-btn {
     background-color: rgb(34 197 94) !important;
}
.bg-green-btn:hover {
     background-color: #16a34a !important;
}
.panel_img {
     width: 50px;
}
.bg-orange1-btn {
     background-color: #f97316 !important; 
}
.bg-orange1-btn:hover {
     background-color: #ea580c !important;
}
.quote-form-wrap input:invalid, .quote-form-wrap textarea:invalid {
     background-color: #fff;
}
.btn.remove-order {
     position: absolute;
     top: 0px;
     right: 4px;
     border: none;
     color: red;
     width: 24px;
     height: 24px;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.measurement_form_container input[type="submit"]:hover {
    background-color: #45a049;
} */
/* .size_radio_bn {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.main_wraper {
    display: flex;
    justify-content: space-between;
}
.main_wraper > div {
    flex: 1;
    margin-right: 10px;
}
.main_wraper > div:last-child {
    margin-right: 0;
}
.form-row {
    display: flex;
    flex-wrap: wrap;
}
.form-group {
    flex: 1;
    margin-right: 10px;
}
.form-group:last-child {
    margin-right: 0;
} */
/* .product-options {
    background: #f9fafb;
    padding: 10px;
    border: 2px solid #eeeeee;
    border-radius: 5px;
} */
.cm_measue_lable_input_width {
    display: grid;
    grid-template-columns: 1fr .69fr .19fr !important;
    align-items: center;
    grid-column-gap: 8px;
    margin-bottom: 15px;
}
.instat_price_btn h3 {
    font-size: 16px;
    font-weight: 600;
    /*margin-top: 10px;
    background: #f2f6a9;
    padding: 2px 2px;*/
}
.quote-form-wrap input:focus,.quote-form-wrap select:focus,.quote-form-wrap textarea:focus {
    /* border-color: #f08a01;
    box-shadow: none !important;
    border-width: 2px; */
    box-shadow: 0 0 0 0.1rem #f08a01;
    border-color: #f08a02;
}
.bg-green-btn {
    background-color: rgb(34 197 94) !important;
}
.bg-green-btn:hover {
    background-color: #16a34a ! IMPORTANT;
}
.panel_img {
    width: 50px;
}
.bg-orange1-btn {
    background-color: #f97316 !important; 
}
.bg-orange1-btn:hover {
    background-color:#ea580c !important;
}
/* .default-width-btn {
    width: auto !important;
    align-self: flex-start !important;
} */
/* input:invalid {
    background-color: white; 
    border: 1px solid red; 
} */
.quote-form-wrap input:invalid, .quote-form-wrap textarea:invalid {
    background-color: #fff;
}
.quote-order {
    position: relative; /* Allows absolute button positioning inside */
}

.btn.remove-order {
    position: absolute;
    top: 0px;
    right: 4px;
    border: none;
    color: red;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items .item {
    min-width: 200px;
    border-bottom: 1px solid #e7e7e7;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items {
    width: 100%;
    background: #fff;
}#bs-order-items .bs_order_items_wrapper table.bs_order_items
#bs-order-items .bs_order_items_wrapper {
    margin: 0;
    overflow-x: auto;
}
#bs-order-items .handlediv, #bs-order-items .hndle, #bs-order-items .postbox-header {
    display: none;
}
#bs-order-items .inside {
    display: block !important;
}
#bs-order-items .bs_order_items_wrapper {
    margin: 0;
    overflow-x: auto;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items {
    width: 100%;
    background: #fff;
    /* border-bottom: 1px solid #eaeaea; */
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items .item {
    min-width: 200px;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items td.thumb .wc-order-item-thumbnail {
    width: 38px;
    height: 38px;
    border: 2px solid #e8e8e8;
    background: #f8f8f8;
    color: #ccc;
    position: relative;
    font-size: 21px;
    display: block;
    text-align: center;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items td.name .wc-order-item-sku {
    display: block;
    margin-top: .5em;
    font-size: .92em !important;
    color: #888;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items table.display_meta tr td, #bs-order-items .bs_order_items_wrapper table.bs_order_items table.meta tr td {
    padding: 0 4px .5em 0;
    border: 0;
    line-height: 1.5em;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items table.display_meta tr td p:last-child, #bs-order-items .bs_order_items_wrapper table.bs_order_items table.meta tr td p:last-child {
    margin: 0;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items table.display_meta tr td p, #bs-order-items .bs_order_items_wrapper table.bs_order_items table.meta tr td p {
    margin: 0 0 .5em;
    line-height: 1.5em;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items table.display_meta tr th, #bs-order-items .bs_order_items_wrapper table.bs_order_items table.meta tr th {
    border: 0;
    padding: 0 4px .5em 0;
    line-height: 1.5em;
    width: 20%;
    background: #fff;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items tbody th, #bs-order-items .bs_order_items_wrapper table.bs_order_items td {
    padding: 1.5em 1em 1em;
    text-align: left;
    line-height: 1.5em;
    vertical-align: top;
    border-bottom: 1px solid #f8f8f8;
    border: none;
}
#bs-order-items .bs_order_items_wrapper table.bs_order_items table.display_meta, #bs-order-items .bs_order_items_wrapper table.bs_order_items table.meta {
    margin: .5em 0 0;
    font-size: .92em !important;
    color: #888;
    border: none;
}
table.display_meta th {
    font-weight: 500;
    font-size: 0.8rem;
}
#bs-order-items .bs-order-totals {
    float: right;
    /* width: 50%; */
    margin: 0;
    padding: 0;
    text-align: right;
    border:none;
}
#bs-order-items .bs-order-totals .label {
    vertical-align: top;
}
#bs-order-items .bs-order-totals .amount {
    font-weight: 700;
}
#bs-order-items .amount {
    white-space: nowrap;
}
#bs-order-items .bs-order-totals .total {
    font-size: 1em !important;
    width: 10em;
    margin: 0 0 0 .5em;
    box-sizing: border-box;
    text-align: right;
}
#bs-order-items .bs-order-totals .label {
    vertical-align: top;
}
#bs-order-items .bs-order-data-row {
    border-bottom: 1px solid #dfdfdf;
    /* padding: 1.5em 2em; */
    /* background: #f8f8f8; */
    line-height: 2em;
    /* text-align: right; */
    /* padding-top: 0; */
}
#bs-order-items .wc-order-totals {
    float: right;
    width: 50%;
    margin: 0;
    padding: 0;
    text-align: right;
    border-left: none;
}
#bs-order-items .bs-order-totals .label-highlight {
    font-weight: 700;
}

#bs-order-items .bs-order-totals .label {
    vertical-align: top;
}
.bs-quote-container {
    display: flex;
    gap: 20px;
}
.bs-quote-left {
    width: 50%;
}
.bs-quote-right {
    width: 50%;
}
.bs-quote-field {
    margin-bottom: 15px;
}
.bs-quote-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.bs-quote-field input,
.bs-quote-field textarea,
.bs-quote-field select {
    width: 100%;
    font-size: 14px;
}
.bs-quote-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 400;
    color: white;
    font-size: 0.8rem;
}
/* .bs-quote-status {
    display: inline-block;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: 500;
    color: #f08a01;
    border: 1px solid #f08c05;
    font-size: 0.8rem;
} */

.status-outstanding {
    background-color: #63656a; /* Orange */
}

.status-outstanding-text {
    color: #63656a; /* Orange */
}

.status-accepted {
    background-color: #28a745; /* Green */
}

.status-accepted-text {
    color: #28a745; /* Green */
}

.status-part_paid{
    background-color: #ffc107; /* Blue */
}

.status-part_paid-text {
    color: #ffc107; /* Blue */
}

.status-declined {
    background-color: #f44336; /* Red */
}
.brand-color {
    color: #f08a01 !important;
}
.status-declined-text {
    color: #f44336; /* Red */
}
.status-paid-text {
    color: #9a3edc; /* Blue */
}
.quote-details{
    position: relative;
    min-width: 255px;
    border: 1px solid #c3c4c7;
    /* box-shadow: 0 1px 1px rgba(0, 0, 0, .04); */
    background: #fff;
    border: none;
}
.quote-details table tr th, .quote-details table tr td, .quote-details thead, .quote-details thead th, .quote-details table tbody{
    border: none;
}
.quotation-header { color: #f08a01; font-weight: bold; }
.company-logo {
    max-width: 150px;
}
/* .info-box {  padding: 15px; border-radius: 5px; } */
.table-header { background: #f08a01; color: white; }
.total-section { font-size: 18px; }

p.title-1 {
    font-size: 1rem;
    font-weight: 500;
    color: #606060;
}
.bs-success-bold {
    font-weight: 700;
    color: #4ba34a !important;
}
.bs-error-bold {
    font-weight: 700;
    color: #d9534f !important; /* red */
}
/* .info-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
} */
div.info-box p {
    margin-bottom: 0px;
}
/**/
.quote-customer-page .row-flex {
    display: flex;
    flex-wrap: wrap;
  }
  .info-box .content {
    height: 100%;
    padding: 20px 20px 10px;
    background: #f8f0e5;
    border-radius: 10px;
}
span.toggle-details {
    font-size: 0.9rem;
}
#bs-order-items .order-total .label {
    font-weight: 600;
}
.quote-customer-page .label {
    font-weight: 500;
    color: #606060;
}
.alert-msg-1 {
    position: relative;
    top: 0;
    width: 100%;
    padding: 5px;
    border-radius: 0px;
    background: #5eb337;
    color: #fff;
    text-align: center;
}
.bs_order_items_wrapper table {
    border-right: 1px solid #eaeaea;
}
table.bs_order_items.wc-order-items.widefat {
    margin-bottom: 0px;
}
table.bs_order_items.wc-order-items.widefat {
    margin-bottom: 1rem;
}
tr.meta-row {
        border: 1px solid #eaeaea;
}
.quote-status-box {
    border: 1px solid #f8f0e5;
    background: #ffffc7;
    padding: 1rem;
    border-radius: 10px;
}
.p-loader {
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}
.bs-quote-archive {
    padding: 20px;
}

.bs-quote-list {
    list-style: none;
    padding: 0;
}

.bs-quote-list .quote-item {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 15px;
}
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.table td {
    background-color: #ffffff;
}

.d-flex {
    display: flex;
    justify-content: start;
}

.gap-2 {
    gap: 0.5rem;
}

.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-light:hover {
    background-color: #e2e6ea;
}

.status-outstanding {
    background-color: #63656a;
}

.status-accepted {
    background-color: #28a745;
}
.status-completed {
     background-color: #007bff; /* Purple */
    color: #ffffff; /* White text for better contrast */
}
.status-part_paid {
    background-color: #ffc107;
}

.status-declined {
    background-color: #f44336;
}
.status-paid {
    background-color: #9a3edc; /* Blue */
    color: #ffffff; /* White text for better contrast */
}
.text-white {
    color: white;
}
  /* .modern-quote-table {
        border-collapse: separate;
        border-spacing: 0 10px;
    }

    .modern-quote-table thead th {
        border-bottom: none;
        background: #f8f9fa;
        font-weight: 600;
    }

    .modern-quote-table tbody tr.quote-row {
        background: #fff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        border-radius: 10px;
        transition: 0.3s ease;
    }

    .modern-quote-table tbody tr.quote-row:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .modern-quote-table td {
        border-top: none;
        padding: 1rem;
    }

    .quote-details-row td {
        border-top: none;
    }

    .btn-group .btn {
        margin-right: 5px;
    }    */
    .actions .btn:hover {
    background-color: #f08a01;
    color: #fff;
    border-color: #f08a01;
}
.quote-date.text-muted {
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 10px;
}
.action-buttons .btn {
    --bs-btn-color: #64666b;
}
.pagination .page-item.active .page-link {
    background-color: #f08a01;
    border-color: #f08a01;
    color: #fff;
}

.pagination .page-link {
    color: #333;
    border: 1px solid #dee2e6;
}

.pagination .page-link:hover {
    background-color: #f08a01;
    color: #fff;
    border-color: #f08a01;
}
div.bs-search-results {
    margin-top: -10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #666666;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e7e7e7;
    font-size: 15px;
}
.bs-list-spacing {
    margin-top: 45px;
    margin-bottom: 45px;
}
.bs-add-btn {
    border-color: #f08a01 !important;
    border: 1px solid #f19212 !important;
    color:#f08a01 !important;
}
.brand-color-text {
    color: #f08a01 !important;
}
a.bs-add-btn:hover {
    color: #fff !important;
    border-color: #63656a !important;
    background-color: #63656a;
}
a.bs-add-btn i:hover {
    color: #fff !important;
}
.modal.right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 90%;
  max-width: 500px;
  height: 100%;
  right: 0;
  top: 0;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.3s ease-out;
}

.modal.right .modal-content {
  height: 100%;
  overflow-y: auto;
  border-radius: 0;
}

.modal.right.show .modal-dialog {
  transform: translate3d(0, 0, 0);
}
/* Hide the content by default */
.card-toggle-content {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Smooth transition for opening */
}

/* When the card is toggled open */
.card-toggle.open .card-toggle-content {
    display: block;
    max-height: 1000px; /* You can adjust the max height to a value that fits your content */
}

/* Optional: Style for toggle button */
.card-toggle-btn {
    cursor: pointer;
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.card-toggle-btn:hover {
    background-color: #0056b3;
}
  .bs-table-td.actions i {
    font-size: 1.1rem;
}
.bs-table th {
    background-color: #c2c2c2;
}
.table td.bs-td-sub {
    background: #f9f9f9 !important;
    padding: 1.2rem !important;
    text-align: left;
}
form.bs-measurement-form {
    background: #f8f0e5;
    padding: 1rem;
    border-radius: 5px;
}
.title-item {
    margin-left: -6px;
}
.f-i-cstm-btn {
    padding: 12px 22px !important;
}

.quote-payment-summary {
    width: 100%;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.quote-progress-container {
    height: 12px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 8px;
}

.quote-progress-bar {
    height: 100%;
    background-color: #28a745; /* Green for paid */
    border-radius: 10px;
}

.quote-amounts {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: bold;
}

.quote-paid {
    color: #28a745; /* Green for paid */
}

.quote-remaining {
    color: #dc3545; /* Red for remaining balance */
}
.bs-status-column select.change-quote-status {
    width: 100%;
    min-width: 103px;
}
.bs-status-column select {
    height: 24px;
    font-size: 12px;
    padding: 0px 6px;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    display: inline-block;
}

.status-message {
    font-size: 14px;
    vertical-align: middle;
    display: inline-block;
    transition: opacity 0.2s ease-in-out;
}
span.badge.bs-quote-status {
    width: 87px;
}
.bs-nav-actions .nav-link, .bs-nav-actions .nav-link:focus, .bs-nav-actions .nav-link:hover {
        color: #f08a01;
}
.view-p .s-container {
    justify-content: right !important;
}
.view-p .s-container .status-message
 {
    right: -22px !important;
}
.fw-bs-600 {
    font-weight: 600;
}
.bs-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #dee2e6;
    margin-top: 10px;
}

.bs-timeline-item {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 10px;
}

.bs-timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: #0d6efd; /* Bootstrap primary */
    border-radius: 50%;
    border: 2px solid #fff;
}

.bs-timeline-date {
    font-weight: bold;
    color: #0d6efd;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.bs-timeline-detail {
    padding: 0px 10px 4px 10px;
    border-radius: 6px;
    font-size: 0.875rem;
}
.quote-form-wrap input:focus, .quote-form-wrap select:focus, .quote-form-wrap textarea:focus, .form-control:focus {
    box-shadow: 0 0 0 0.1rem #f08a01 !important;
    border-color: #f08a02 !important;
}

/* span.company-name-placeholder {
    color: #f08a01;
} */
/* Responsive table for smaller screens */


/* @media only screen and (max-width: 959px) {
    
    
    .page-id-7375 .container, .page-id-7375 .container-sm {
        max-width: 100%;
    }
    .page-id-7375 #sidebar-bg .dashboard-container-pro {
        padding-left: 20px;
        padding-right: 20px;
    }
} */
/* @media (max-width: 685px) {
   @media (max-width: 768px) {
    .table-responsive {
        margin-bottom: 15px;
    }
    .table th, .table td {
        font-size: 14px;
    }
}
}*/
@media only screen and (max-width: 959px) {
    /* div.bs-search-results {
        padding-bottom: 43px;
        margin-bottom: 20px;
    } */
}    
@media (max-width: 576px) {
    .quote-card.p-4 {
        padding: 1.2rem !important;
     } 
    .page-quote-form #sidebar-bg .dashboard-container-pro {
        padding-left: 10px;
        padding-right: 10px;
    }
    .product-options {
        padding: 0px !important;
    }
  
    
    /* .bs-search-results select {
                        display: block;
                        width: 100%;
                        margin-bottom: 10px;
                    } */
} 
 /* @media (max-width: 768px) {
    
    .page-id-7375 #sidebar-bg .dashboard-container-pro {
        padding-left: 10px;
        padding-right: 10px;
    }
    .container, .container-sm {
        max-width: 100%;
    }
} */
@media only screen and (max-width: 768px) {
    #bs-order-items .bs-order-data-row {
        padding: 0px;
    }
    #bs-order-items .bs-order-totals {
        float: left;
        width: 100%;
    }
    .bs-table {
        display: block;
        width: 100%;
    }

  .bs-table thead {
    display: none; /* Hide table header */
  }

  .bs-table tbody {
    display: block;
  }

  .bs-table tr.bs-table-row {
    display: grid;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border-color: #fdfdfd;
    border: 1px solid #eceaea;
  }

  .bs-table td {
    display: flex;
    border: none;
    font-size: 0.9rem;
    padding: .3rem .3rem !important;
  }

  .bs-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #666;
    max-width: 50%;
    text-align: left;
  }

  .bs-table td:last-child {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .bs-table .btn {
    margin: 2px 4px 0 0;
  } 
  .bs-table .table>tbody {
    border: none;
  }
  table.bs-table {
    border: none;
    }
      .bs-table td.bs-id-column {
    order: 1;
  }

  .bs-table td.bs-status-column {
    order: 2;
  }

  .bs-table td.bs-customer-column {
    order: 3;
  }

  .bs-table td.bs-total-column {
    order: 4;
  }
  .bs-table td.bs-date-column {
    order: 5;
  }
  .bs-table td:last-child {
    order: 6;
  }
    .title-2 {
        font-size: 1.1rem !important;
        font-weight: 500;
    }
    .view-p .s-container {
    justify-content: center !important;
}
   
}
@media only screen and (max-width: 528px) {
    span.toggle-details.brand-color {
        display: block;
    }
}
@media (max-width: 480px) {
    /* div.bs-search-results {
        padding-bottom: 74px;
    } */
}
@media (max-width: 470px) {
    /* div.bs-search-results {
        padding-bottom: 74px;
    } */
}