:root {
  --het-fruit-pink: rgb(147, 18, 123);
  --het-fruit-paars: rgb(50, 8, 42);
  --het-fruit-geel: rgb(237, 196, 1);
  --het-fruit-geel-o5: rgb(237, 196, 1,0.5);
  --het-fruit-rood: rgb(209, 0, 23);
  --het-fruit-rood-o5: rgb(209, 0, 23,0.5);
  --het-fruit-oranje: rgb(236, 162, 13);
  --het-fruit-groen: rgb(69, 128, 7);
  --het-fruit-lemon: rgb(149, 191, 13);
  --het-fruit-light-grey: #EFEFEF;

  .hf-scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 2%;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: #555;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
  }

  .hf-scrollToTopBtn:hover {
    background-color: #777;
  }

  button.toggle-button{
    padding: 0 2em;
    margin-right: 1em;
  }

  .product-category-open{
    display: table-row;
  }

  .product-category-closed{
    display: none !important;
  }

  .tr-bg-red05{
    background-color: var(--het-fruit-rood-o5);
  }
}
.delivery-week .delivery-grid{
  display: none;
}
.delivery-week.open .delivery-grid{
  display: flex !important;
}
.delivery-week .delivery-grid {
  display: none;
  flex-direction: column;
  width: 100%;
}

.module-description{
  max-width: 100%;
}

.delivery-week .grid-header {
  display: grid;
  grid-template-columns: 15% 15% 10% 15% 8% 12% 25%;
  gap: 1px;
  background:#EFEFEF;
  text-wrap: nowrap ;
  border-bottom: 1px solid black;
}
.grid-body form{
  display: grid;
}

.delivery-week .grid-cell {
  padding: 8px;
  background: #efefef;
  overflow: hidden;
}

.delivery-week .grid-row .grid-cell:nth-child(5), .delivery-week .grid-row .grid-cell:nth-child(6) {
  text-align: center;
}

.delivery-week .grid-row {
  display: grid;
  grid-template-columns: 15% 15% 10% 15% 8% 12% 25%;
  /*gap: 1px;*/
  background: #f5f5f5;
  border-bottom: 1px solid #efefef;
  /*text-align: center;*/
}

.delivery-week .grid-row .grid-cell {
  background: white;
}

.delivery-week .grid-cell input[type="text"],
.delivery-week .grid-cell input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  padding: 4px;
}

.delivery-week .grid-cell input[type="submit"] {
  padding: 4px 8px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.week-header {
  background:  linear-gradient(45deg, var(--het-fruit-groen), var(--het-fruit-lemon));;
  border-bottom: 2px solid var(--het-fruit-paars);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: 5px;
  font-size: 0.8em;
}

.week-header:hover {
  background-color: var(--het-fruit-pink);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Stijlen voor de toggle knoppen */
.toggle-week {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  text-align: left;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: #ffffff;
}


/* Week content stijlen */
.delivery-week {
  margin-bottom: 25px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-width: 50px;
}

.deliverd{
  opacity: 0.7;
}
.deliverd .week-header{
  background: linear-gradient(45deg, var(--het-fruit-pink), var(--het-fruit-light-grey));
}

.future .week-header {
  background: linear-gradient(45deg, var(--het-fruit-oranje), var(--het-fruit-geel));
}

.delivery-week.open table{
  display: table;
}

input[type="text"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #32082a;
  border-radius: 4px;
  font-size: 14px;
  background-color: #ffffff;
}

input[type="date"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #32082a;
  border-radius: 4px;
  font-size: 14px;
  background-color: #ffffff;
}
.grid-row input[type="submit"].save-btn {
  display: none;
}

.grid-row input[type="submit"]:focus {
  outline: 2px solid #007bff;
}

.delivery-reactivate{
  background-color: var(--het-fruit-groen) !important;
}

.delivery-cancel{
  background-color: var(--het-fruit-rood) !important;
}

.delivery-submit{
  background-color: var(--het-fruit-paars) !important;
}

.delivery-cancel:hover{
  color: var(--het-fruit-oranje) !important;
}

.delivery-submit:hover{
  color: var(--het-fruit-light-grey) !important;
}

.delivery-reactivate:hover{
  color: var(--het-fruit-lemon) !important;
}
.delivery-cancel:hover,.delivery-submit:hover,.delivery-reactivate:hover{
  text-decoration: none !important;
}

.disabled-product{
  background-color: var(--het-fruit-rood-o5);
}

.current-week{
  background-color: var(--het-fruit-lemon);
}
/* Responsive design */
@media (max-width: 768px) {
  .week-header {
    padding: 12px;
  }

  .toggle-week {
    gap: 10px;
    padding: 5px;
  }

  th {
    padding: 10px;
    font-size: 14px;
  }

  input[type="text"],
  input[type="date"] {
    padding: 6px;
    font-size: 13px;
  }
  .delivery-week .delivery-grid,
  .delivery-week .grid-header,
  .delivery-week .grid-row {
    grid-template-columns: repeat(6, 1fr);
  }

  .delivery-week .grid-cell {
    padding: 12px 8px;
  }
}




