/* General Styles */
.flex-column-gap {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem; /* 5px */
}

.download-button,
.upload-button-link {
  width: 100%;
  height: 3.4375rem; /* 55px */
  background-color: var(--primary-color);
  color: var(--light-color) !important;
  border-radius: 1.25rem; /* 20px */
  font-weight: 480;
  font-size: 1.125rem; /* 18px */
}

.upload-button-container {
  font-size: 0.9375rem; /* 15px */
  width: 100%;
}

.btn {
  width: 7.5rem; /* 120px */
  height: 4.0625rem; /* 65px */
  max-height: 100%;
}

.editable_noscale[disabled] {
  color: black;
  text-decoration: none;
  pointer-events: none;
}

.editable_noscale.editable {
  color: blue;
  text-decoration: underline;
  pointer-events: auto;
}

/* Hide Cancel Button Initially */
.cancel-button {
  display: none;
}

.hidden-column {
  display: none; /* Hide columns dynamically */
}

/* Responsive Styles */
@media (max-width: 1280px) {
  .kerstontbijt-dashboard-container .table_container_l table tr th:nth-child(4), 
  .kerstontbijt-dashboard-container .table_container_l table tr td:nth-child(4){
    display: none;
  }
  .kerstontbijt-dashboard-container .table_container_l table tr th:nth-child(5), 
  .kerstontbijt-dashboard-container .table_container_l table tr td:nth-child(5){
    display: none;
  }
}

/* Mobile Styles */
@media (max-width: 767px) {
  /* Adjust button sizes */
  .btn {
    width: 100%;
    height: 3.125rem; /* 50px */
    margin-bottom: 0.625rem; /* 10px */
  }

  .download-button,
  .upload-button-link {
    font-size: 1rem; /* 16px */
    height: 3.125rem; /* 50px */
  }

  .upload-button-container {
    font-size: 0.875rem; /* 14px */
  }

  .flex-column-gap {
    gap: 0.625rem; /* 10px */
  }

  body {
    font-size: 1rem; /* 16px */
  }

  input,
  select,
  textarea {
    width: 100%;
    font-size: 1rem; /* 16px */
  }

  .container {
    padding: 0.625rem; /* 10px */
  }

  /* Responsive Table */
  .table_container_l {
    overflow-x: auto;
  }

  table {
    width: 100%;
    border-collapse: collapse;
  }

  table thead {
    display: none;
  }

  table tr {
    display: block;
    margin-bottom: 0.9375rem; /* 15px */
  }

  table td {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0.3125rem; /* 10px 5px */
    border-bottom: 1px solid #ccc;
  }

  table td::before {
    content: attr(data-label);
    font-weight: bold;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .btn {
    width: 9.375rem; /* 150px */
    height: 3.75rem; /* 60px */
  }

  .download-button,
  .upload-button-link {
    font-size: 1.0625rem; /* 17px */
    height: 3.4375rem; /* 55px */
  }

  .upload-button-container {
    font-size: 0.9375rem; /* 15px */
  }

  .flex-column-gap {
    gap: 0.5rem; /* 8px */
  }

  body {
    font-size: 1.0625rem; /* 17px */
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .btn {
    width: 7.5rem; /* 120px */
    height: 4.0625rem; /* 65px */
  }

  .download-button,
  .upload-button-link {
    font-size: 1.125rem; /* 18px */
    height: 3.4375rem; /* 55px */
  }

  .upload-button-container {
    font-size: 0.9375rem; /* 15px */
  }

  .flex-column-gap {
    gap: 0.3125rem; /* 5px */
  }

  body {
    font-size: 1.125rem; /* 18px */
  }
}

/* Additional Responsive Adjustments */

/* Adjust margins and paddings for mobile */
@media (max-width: 767px) {
  .some-container-class {
    margin: 0 0.625rem; /* 10px */
    padding: 0 0.625rem; /* 10px */
  }
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive Typography */
@media (max-width: 767px) {
  h1 {
    font-size: 1.5rem; /* 24px */
  }

  h2 {
    font-size: 1.375rem; /* 22px */
  }

  h3 {
    font-size: 1.25rem; /* 20px */
  }
}

/* Adjust form elements */
@media (max-width: 767px) {
  .form-group {
    margin-bottom: 0.9375rem; /* 15px */
  }

  label {
    font-size: 1rem; /* 16px */
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 1rem; /* 16px */
    padding: 0.625rem; /* 10px */
  }
}

/* Ensure modal dialogs are full screen on mobile */
@media (max-width: 767px) {
  .modal {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .modal-content {
    height: 100%;
    overflow-y: auto;
  }
}

/* Adjust navigation for mobile */
@media (max-width: 767px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* Show navigation when toggled */
.nav-open .nav-menu {
  display: block;
}

/* Hamburger menu styles */
.nav-toggle {
  cursor: pointer;
}

/* Footer adjustments */
@media (max-width: 767px) {
  .footer {
    text-align: center;
  }
}
