/* styles.css – basislayout VergoedingManager */

body {
  font-family: Arial, sans-serif;
  margin: 30px;
}

/* Kalender: voorkom dat legacy 'header/nav' regels de centrale .site-hf stukmaken */
header:not(.site-hf) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

header:not(.site-hf) .logo img {
  height: 40px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: #0066cc;
  font-weight: bold;
}

.input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-bottom: 12px;
  align-items: center;
}

/* Los van de selectie-rij: knoppen blijven zichtbaar (geen enkele horizontale flex-rij zonder wrap). */
.actie-knoppen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 20px;
}

.actie-knoppen label.btn-uvs {
  cursor: pointer;
}

.input-group label {
  font-weight: bold;
  margin-right: 8px;
}

select {
  padding: 4px 6px;
  font-size: 14px;
}
.table-wrapper {
  overflow-x: auto;
  border: 1px solid #ccc;
}

#dienstentabel {
  border-collapse: collapse;
  min-width: 1400px;
}

#dienstentabel th,
#dienstentabel td {
  padding: 4px 8px;
  border: 1px solid #ddd;
  font-size: 13px;
  background-color: white;
  white-space: nowrap;
}

#dienstentabel thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background-color: white;
}

#dienstentabel input {
  width: 100%;
  padding: 2px 4px;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
}


#dienstentabel input, 
#dienstentabel select {
  font-size: 13px;
  padding: 3px 4px;
	text-align: center;
}
#dienstentabel td:nth-child(2) input {
  width: 75px;
}
#dienstentabel td:nth-child(3) input {
  width: 100px;
	text-align: center;
}	
	#dienstentabel td:nth-child(6) input {
  width: 80px;
}

#dienstentabel td:nth-child(7) input {
  width: 80px;
	text-align: center;
}

/* Totaal / onbelast / belast / woonwerk: genoeg ruimte voor waarden als 26,20 (comma-decimaal) */
#dienstentabel th:nth-child(10),
#dienstentabel th:nth-child(11),
#dienstentabel th:nth-child(12),
#dienstentabel th:nth-child(13),
#dienstentabel td:nth-child(10),
#dienstentabel td:nth-child(11),
#dienstentabel td:nth-child(12),
#dienstentabel td:nth-child(13) {
  min-width: 5.5rem;
}

#dienstentabel td:nth-child(10) input,
#dienstentabel td:nth-child(11) input,
#dienstentabel td:nth-child(12) input,
#dienstentabel td:nth-child(13) input {
  min-width: 6.5ch;
  width: 100%;
  box-sizing: border-box;
}

/* Compacte correctie-opbouw */
td.correctie {
  display: flex;
  gap: 4px;
  max-width: 100px;
}

td.correctie input,
td.correctie select {
  max-width: 45px;
}

td select {
  max-width: 120px;
}


#dienstentabel tbody tr.zaterdag td {
  background-color: #daeef3 !important;
}

#dienstentabel tbody tr.zondag td {
  background-color: #daeef3 !important;
}

/* Weekend: browser default-rand op select/input oogt zwart/scherp; expliciet zachte rand + licht veld */
#dienstentabel tr.zaterdag td input,
#dienstentabel tr.zaterdag td select,
#dienstentabel tr.zondag td input,
#dienstentabel tr.zondag td select {
  background-color: #f7fbfc !important;
  color: #1a1a1a;
  border: 1px solid #b9d2dc;
  border-radius: 4px;
  box-shadow: none;
}

#dienstentabel tr.zaterdag td input:focus,
#dienstentabel tr.zaterdag td select:focus,
#dienstentabel tr.zondag td input:focus,
#dienstentabel tr.zondag td select:focus {
  border-color: #8eb4c4;
  outline: none;
}

#dienstentabel tr.zaterdag td input:focus-visible,
#dienstentabel tr.zaterdag td select:focus-visible,
#dienstentabel tr.zondag td input:focus-visible,
#dienstentabel tr.zondag td select:focus-visible {
  outline: 2px solid #7aa8bc;
  outline-offset: 1px;
}

/* Container voor knoppen */
.actie-knoppen a.btn-uvs,
.actie-knoppen a.btn-overzicht {
    background: #9ca3af !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Algemene knopstijl */
.btn-uvs,
.btn-overzicht {
    display: inline-block;
    padding: 4px 10px;
    background: #9ca3af;     /* grijs */
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s ease;
}

/* Hover */
.btn-uvs:hover,
.btn-overzicht:hover {
    background: #6b7280;
}
.overloop-rij {
    display: none;
}

