.table-wrapper {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  width: 100%;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.table th,
.table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 6px 8px;
  text-align: left;
}

.table th {
  background: #f9fafb;
  font-weight: 600;
  color: #1f2933;
  position: sticky;
  top: 0;
  z-index: 1;
}

.table tbody tr:hover {
  background: #eff6ff;
}

.billing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.billing-table th,
.billing-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 0.98rem;
}

.billing-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #0f172a;
}

.billing-table tr:last-child td {
  border-bottom: none;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(148, 163, 184, 0.35);
}

.summary-table th,
.summary-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 0.98rem;
}

.summary-table th {
  background: #eef2ff;
  color: #1e3a8a;
  font-weight: 600;
}

.summary-table tr:last-child td {
  border-bottom: none;
}


.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding-bottom: 6px;
}

.report-table {
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(148, 163, 184, 0.35);
  min-width: 700px;
}

.report-table th,
.report-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 0.98rem;
}

.report-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
}

.report-table tbody tr:hover {
  background: #f8fafc;
}
.grand-total {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 1.08rem;
  margin-top: 10px;
}

.muted {
  font-size: 0.98rem;
  color: #6b7280;
}

#stu-message,
#admin-login-message,
#booking-message,
#admin-menu-message,
#admin-price-message,
#backup-message,
#reg-message,
#bill-result {
  margin-top: 2px;
  display: inline-block;
  font-size: 0.98rem;
}

#bill-result,
#rep-result {
  overflow-x: auto;
}
