.fee-dashboard-wrapper {
  background: #fff;
  padding: 10px;
}

.fee-dashboard-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fee-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  flex: 1 1 20%;
  border: 1px solid #e2e8f0;
}

.fee-card i {
  font-size: 28px;
  color: #1E88E5;
}

.fee-card-content {
  display: flex;
  flex-direction: column;
}

.fee-card-amount {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.fee-card-label {
  font-size: 13px;
  color: #666;
}

#chart_div {
  width: 100%;
  height: 450px;
  margin: 0 auto;
  text-align: center;
}

.fee-dashboard-wrapper input[type="date"] {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
}

.pagination-btn {
  background: #1E88E5;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 5px;
  transition: background 0.3s;
}

.pagination-btn:hover {
  background: #1565C0;
}

.pagination-btn:disabled {
  background: #B0BEC5;
  cursor: not-allowed;
}


/* fee receipt dashboard */
.fr-dashboard-filter-form {
  margin-bottom: 25px;
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.fr-dashboard-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.fr-card {
  min-width: 170px;
  padding: 18px;
  border-radius: 10px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.fr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.fr-card-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: #64748b;
}

.fr-card-amount {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 6px;
}

.fr-card-count {
  font-size: 13px;
  color: #94a3b8;
}

.fr-card-total {
  background: #2563eb;
  border: none;
}

.fr-card-total .fr-card-title,
.fr-card-total .fr-card-amount,
.fr-card-total .fr-card-count {
  color: #ffffff;
}

/* Modern Report Styles */
.fr-report-section-title {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 3px solid #3b82f6;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.fr-dues-report-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 40px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.fr-dues-report-table thead th {
  background-color: #2563eb !important;
  color: #ffffff !important;
  font-weight: 600;
  text-align: center;
  padding: 16px 12px;
  border: none !important;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.fr-dues-report-table th:nth-child(1),
.fr-dues-report-table td:nth-child(1) {
  text-align: left;
}

.fr-dues-report-table th:nth-child(2),
.fr-dues-report-table td:nth-child(2) {
  text-align: center;
}

.fr-dues-report-table th:nth-child(n+3),
.fr-dues-report-table td:nth-child(n+3) {
  text-align: right;
}

.fr-dues-report-table tbody td {
  background-color: #ffffff;
  color: #334155;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.2s;
}

.fr-dues-report-table tbody tr:nth-child(even) td {
  background-color: #f8fafc;
}

.fr-dues-report-table tbody tr:last-child td {
  color: #1e293b !important;
  font-weight: 700;
  font-size: 15px;
}

.fr-dues-report-table tbody tr:hover td {
  background-color: #eff6ff !important;
  color: #1e40af;
}