/* ================================
   PTO REPORT
================================ */

#ptoReportSection {
  width: calc(100vw - 260px);
  min-width: 1180px;
  padding: 24px 32px;
  box-sizing: border-box;
}

.pto-report-shell {
  width: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  box-sizing: border-box;
}

.pto-report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  border-bottom: 1px solid #dbe3ea;
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.pto-report-header h2 {
  margin: 0;
  font-family: 'Michroma', sans-serif;
  color: #1E2A5B;
  text-transform: uppercase;
  font-size: 30px;
}

.pto-report-header p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 15px;
}

.pto-report-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pto-report-filters input,
.pto-report-filters select {
  height: 44px;
  border: 1px solid #C1CCD1;
  border-radius: 10px;
  padding: 0 12px;
  box-sizing: border-box;
}

#ptoReportSearch {
  width: 230px;
 margin-bottom: 0;
}

#ptoReportMonth {
  width: 150px;
  margin-bottom: 0;
}

#ptoReportYear {
  width: 100px;
  margin-bottom: 0;
}

#reloadPtoReport {
  height: 44px;
}

#printPtoEmployeeStatus, #printPtoCalendar{
    width:150px;
    margin: 0 0 10px auto;
}

.pto-report-status {
  text-align: center;
  font-weight: 700;
  margin: 12px 0;
}

.pto-report-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.pto-report-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
}

.pto-report-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pto-report-card strong {
  color: #1E2A5B;
  font-size: 28px;
  font-weight: 900;
}

.pto-report-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 16px;
  margin-bottom: 18px;
}

.pto-report-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 18px;
}

.pto-report-panel h3 {
  margin: 0 0 14px;
  color: #1E2A5B;
  font-size: 18px;
  text-transform: uppercase;
}

.pto-report-row {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .6fr .6fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
}

.pto-report-row:last-child {
  border-bottom: none;
}

.pto-report-row strong {
  color: #1E2A5B;
}

.pto-report-muted {
  color: #64748b;
  font-size: 13px;
}

.pto-report-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  background: #eef2ff;
  color: #1E2A5B;
}

.pto-report-table-wrap {
  overflow-x: auto;
}

.pto-report-table {
  width: 100%;
  border-collapse: collapse;
}

.pto-report-table th {
  background: #1E2A5B;
  color: white;
  padding: 12px;
  font-size: 12px;
  text-transform: uppercase;
  text-align: right;
}

.pto-report-table th:first-child {
  text-align: left;
}

.pto-report-table td {
  padding: 12px;
  border-bottom: 1px solid #eef2f7;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pto-report-table td:first-child {
  text-align: left;
  font-weight: 800;
  color: #1E2A5B;
}

.pto-low-red {
  color: #dc2626;
  font-weight: 900;
}

.pto-low-yellow {
  color: #ca8a04;
  font-weight: 900;
}

.pto-low-green {
  color: #16a34a;
  font-weight: 900;
}