body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background: #f8f9fa;
}
h2 {
  text-align: center;
  color: #343a40;
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}
.controls label {
  font-weight: bold;
}
.controls select,
.controls button {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-weight: bold;
  cursor: pointer;
}
button#loadAttendance {
  background-color: #4CAF50;
  color: white;
  border: none;
}
button#downloadPdf {
  background-color: #007BFF;
  color: white;
  border: none;
}
#attendanceTableContainer {
  max-height: 600px;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}
th, td {
  border: 1px solid #ddd;
  padding: 6px;
  text-align: center;
  background: white;
}
th {
  background: #f2f2f2;
}
.divider {
  border-left: 3px solid #333 !important;
}
tr.separator td {
  border-bottom: 2px solid #999;
  padding: 0;
  height: 4px;
  background: transparent;
}
.overtime-cell { background: #e9e5ff !important; }
.leave         { background: #f5e0d6 !important; }
.holiday       { background: #ffd6d6 !important; }
.paid-leave    { background: #d6f0ff !important; }
.no-data       { background: #ddd    !important; }
.overtime-sum  { background: #e9e5ff !important; }