/* Submit button styled like 'toevoegen' tab */
.vsac-tab-add-btn {
  display: inline-block;
  padding: 12px 18px;
  color: #217a3a;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  background: #e6f4ea;
  border: 1px solid #b6e2c2;
  transition: background 0.15s, color 0.15s;
  font-size: 16px;
  cursor: pointer;
}
.vsac-tab-add-btn:hover {
  background: #c6e9d2;
  color: #064d9d;
}
/* CSS uit appointments-table.php */
.vsac-filter-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 18px 20px 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  width: 100%;
}
.vsac-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 12px;
  line-height: 1.4;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom: 2px;
}
.vsac-badge--free {
  background: #e6f4ea;
  color: #217a3a;
  border: 1px solid #b6e2c2;
}
.vsac-badge--status {
  background: #eaf1fb;
  color: #064d9d;
  border: 1px solid #b6c8e2;
}
.vsac-btn {
  display: inline-block;
  background: #064d9d;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.vsac-btn:hover, .vsac-btn:focus {
  background: #05386b;
  color: #fff;
}
.vsac-btn--subtle {
  background: #f3f6fa;
  color: #064d9d !important;
  border: 1px solid #e0e7ef;
  font-weight: 400;
  padding: 8px 14px;
  box-shadow: none;
  transition: background 0.15s, color 0.15s;
}
.vsac-btn--subtle:hover, .vsac-btn--subtle:focus {
  background: #e6eef7;
  color: #05386b !important;
}
a.vsac-wrap {
  overflow: auto;
}

.vsac-filter-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 18px 20px 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
  width: 100%;
}

@media (max-width: 600px) {
  .vsac-filter-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
}

.vsac-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 12px;
  line-height: 1.4;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom: 2px;
}
.vsac-badge--free {
  background: #e6f4ea;
  color: #217a3a;
  border: 1px solid #b6e2c2;
}
.vsac-badge--status {
  background: #eaf1fb;
  color: #064d9d;
  border: 1px solid #b6c8e2;
}

.vsac-btn {
  display: inline-block;
  background: #064d9d;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.vsac-btn:hover, .vsac-btn:focus {
  background: #05386b;
  color: #fff;
}
.vsac-btn--subtle {
  background: #f3f6fa;
  color: #064d9d !important;
  border: 1px solid #e0e7ef;
  font-weight: 400;
  padding: 8px 14px;
  box-shadow: none;
  transition: background 0.15s, color 0.15s;
}
.vsac-btn--subtle:hover, .vsac-btn--subtle:focus {
  background: #e6eef7;
  color: #05386b !important;
}
a.vsac-wrap {
  overflow: auto;
}

.vsac-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-color: #cbd5e1 #f1f5f9;
  scrollbar-width: thin;
  position: relative;
}

@media (max-width: 800px) {
  .vsac-table-wrap {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .vsac-table {
    min-width: 600px;
  }
}

/* Optioneel: swipe hint */
.vsac-table-wrap::after {
  content: '← scroll →';
  display: none;
  position: absolute;
  right: 18px;
  bottom: 2px;
  font-size: 12px;
  color: #b0b8c9;
  background: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  pointer-events: none;
  z-index: 10;
}
@media (max-width: 800px) {
  .vsac-table-wrap::after {
    display: block;
  }
}

.vsac-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}

.vsac-table th,
.vsac-table td {
  border: none;
  padding: 14px 16px;
  vertical-align: middle;
  text-align: left;
}

.vsac-table th {
  background: #f5f7fa;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 2;
  font-weight: 600;
  font-size: 15px;
  height: 54px;
  border-bottom: 2px solid #e3e8ee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  letter-spacing: 0.01em;
}

.vsac-table tbody tr:nth-child(even) {
  background: #f6f8fa;
}

.vsac-table tbody tr:nth-child(odd) {
  background: #fff;
}

.vsac-table tbody tr:hover {
  background: #eaf2fb !important;
  transition: background 0.15s;
}

.vsac-table tbody tr:first-child td:first-child {
  border-top-left-radius: 14px;
}
.vsac-table tbody tr:first-child td:last-child {
  border-top-right-radius: 14px;
}
.vsac-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 14px;
}
.vsac-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 14px;
}

.vsac-num {
  text-align: left;
  white-space: nowrap;
}

.vsac-error {
  padding: 10px;
  border: 1px solid #c00;
  color: #c00;
}

.vsac-filter-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 18px 20px 14px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 700px;
    width: 100%;
}

.vsac-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 12px;
    line-height: 1.4;
    vertical-align: middle;
    margin-right: 4px;
    margin-bottom: 2px;
}
.vsac-badge--free {
    background: #e6f4ea;
    color: #217a3a;
    border: 1px solid #b6e2c2;
}
.vsac-badge--status {
    background: #eaf1fb;
    color: #064d9d;
    border: 1px solid #b6c8e2;
}
.vsac-btn {
    display: inline-block;
    background: #064d9d;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.vsac-btn:hover, .vsac-btn:focus {
    background: #05386b;
    color: #fff;
}
.vsac-btn--subtle {
    background: #f3f6fa;
    color: #064d9d !important;
    border: 1px solid #e0e7ef;
    font-weight: 400;
    padding: 8px 14px;
    box-shadow: none;
    transition: background 0.15s, color 0.15s;
}
.vsac-btn--subtle:hover, .vsac-btn--subtle:focus {
    background: #e6eef7;
    color: #05386b !important;
}
