.button_header {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Optional: Ensures full width */
    margin-bottom: 39px !important;
}
.button_header h2 {
    margin: 0px !important;
}
ul.fileview {
    list-style: none;
    padding: 0px;
}
.rma-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.rma-table th, .rma-table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: center;
}
.rma-table th {
    background-color: #f9f9f9;
}

.imagecusproject img {
    width: 63px;
    height: 63px !important;
    object-fit: fill;
}
td.imagecusproject {
    display: inline-flex;
    gap: 16px;
}
/* project banner css */

 /* Banner Section */
.banner {
  display: flex;
  align-items: center;
  background: #f3f7ff;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 40px;
}

.banner img {
  height: 100px;
  margin-right: 20px;
}

.banner-text {
  font-size: 16px;
}

.banner-text strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.banner-text a {
  font-size: 14px;
  color: #0066cc;
  text-decoration: none;
}

.banner-text a:hover {
  text-decoration: underline;
}

/* Projects Section */
.projects h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.projects p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #555;
}

.projects button {
  background: #fff;
  border: 1px solid #0073e6;
  color: #0073e6;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.projects button:hover {
  background: #0073e6;
  color: #fff;
}

button.add-to-project-btn {
    cursor: pointer;
}

/* Popup Content Box */
 /* Overlay */
  #project-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  /* Modal */
  #project-popup .popup-content {
    background: #fff;
    border-radius: 12px;
    max-width: 555px;
    width: 100%;
    padding: 24px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    margin: 8% auto;
  }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-btn {
    border: 0;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
    position: absolute;
    top: 8px;
}

.lead {
    margin: 12px 0;
    color: #333;
}
.input_cus label, .lead{
    font-size: 13px;
}
select, input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}
.btn.ghost {
    background: #f2f2f2;
    color: #333;
}
.btn.primary {
    background: #f7642a;
    color: #fff;
}

/* Form Elements */
.popup-content form {
    display: flex;
    flex-direction: column;
}

.popup-content select,
.popup-content input,
.popup-content button {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button Styling */
.popup-content button {
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.add_project {
    position: absolute;
    top: 0;
    right: 0;
}
.add_levertijd{
    border-top: 1px solid #ddd;
}

.add-to-project-btn img {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #F6F6F6;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.06);
    padding: 6px;
}
.projectvew ul#shipping_method li {
    margin: 0 0 .5em;
    line-height: 1.5em;
    list-style: none outside;
}
.totalbox tr.woocommerce-shipping-totals.shipping {
    border-bottom: 1px solid #ddd !important;
    border-top: 1px solid #ddd !important;
}
/* Close Button (optional, if you want to add a close button) */
.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.projects {
    margin-bottom: 30px;
}

.user-projects-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #f9fbfc;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.product-left img {
  max-width: 80px;
  border-radius: 6px;
}

.product-center {
  flex: 1;
  margin-left: 20px;
}

.product-center h3 {
  font-size: 16px;
  margin: 0 0 5px;
}

.product-center .sku {
  font-size: 13px;
  color: #666;
}

.product-center .extra {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
}

.product-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 160px;
}

.unit-price .price,
.total-price strong {
  font-size: 16px;
  font-weight: bold;
}

.unit-price small,
.total-price small {
  font-size: 12px;
  color: #666;
}

.quantity-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.remove-item {
  background: none;
  border: none;
  color: darkred;
  font-size: 18px;
  cursor: pointer;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.qty-control button {
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
}

.qty-control input {
  width: 40px;
  text-align: center;
  border: none;
  outline: none;
}

.unit-price, .total-price {
    display: grid;
}
.product-center a.producttitle {
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
}
button.button.add-all-to-cart {
    background-color: #47cfac !important;
    color: #ffffff !important;
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: 16px 20px;
    font-weight: 700;
    border-radius: 8px;
    left: auto;
    border: 0;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}
.project-actions {
    text-align: right;
    display: grid;
}
.projectTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
span.removeproject {
    color: darkred;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.totalbox {
    width: 50%;
    float: right !important;
    text-align: right;
    display: block;
    margin: 0 50% 0;
}
.totalbox table tbody>tr:nth-child(odd)>td, .totalbox table tbody>tr:nth-child(odd)>th {
    background-color: #fff !important;
}

.totalbox tr.order-total span.price-dec {
    display: inline !important;
}

.product-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 2px 2px 50px rgba(38, 63, 77, 0.1);
    padding-bottom: 24px;
    padding-top: 12px;
    margin-bottom: 20px;
}