.page-title {
  font-weight: 700;
  font-size: 28px;
  color: #1f2937;
  margin-bottom: 24px;
}

.rate-card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #fff;
}

.rate-card .card-header {
  background: linear-gradient(135deg, #0d6efd, #3b82f6);
  color: #fff;
  border-bottom: none;
  padding: 18px 20px;
}

.rate-card .card-header h5 {
  margin: 0;
  font-weight: 700;
}

.table-wrap {
  padding: 16px;
}

.custom-table {
  margin-bottom: 0;
  vertical-align: middle;
}

.custom-table thead th {
  background: #f8fafc;
  color: #374151;
  font-weight: 700;
  border-bottom: 2px solid #e5e7eb;
  text-align: center;
  white-space: nowrap;
}

.custom-table tbody tr {
  transition: all 0.2s ease;
}

.custom-table tbody tr:hover {
  background: #f8fbff;
}

.custom-table td,
.custom-table th {
  padding: 14px 12px;
  text-align: center;
  vertical-align: middle;
}

.action-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: 0.2s ease;
  font-size: 16px;
}

.icon-btn i {
  pointer-events: none;
}

.icon-btn-edit {
  background: #e8f1ff;
  color: #0d6efd;
  border-color: #cfe2ff;
}

.icon-btn-edit:hover {
  background: #d9e8ff;
  color: #0b5ed7;
}

.icon-btn-delete {
  background: #ffe9ec;
  color: #dc3545;
  border-color: #f5c2c7;
}

.icon-btn-delete:hover {
  background: #ffd7dd;
  color: #bb2d3b;
}

.icon-btn-refresh {
  background: #e9f9ee;
  color: #198754;
  border-color: #badbcc;
}

.icon-btn-refresh:hover {
  background: #d7f4e0;
  color: #146c43;
}

.top-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 16px;
}

.top-actions .btn {
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modal-content {
  border: none;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.modal-header {
  border-bottom: 1px solid #eef2f7;
  padding: 18px 20px;
}

.modal-title {
  font-weight: 700;
  color: #1f2937;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  border-top: 1px solid #eef2f7;
  padding: 16px 20px;
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-control {
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  border-color: #86b7fe;
}

.badge-time {
  background: #f3f4f6;
  color: #374151;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 500;
}

.empty-state {
  color: #6b7280;
  text-align: center;
  padding: 22px;
  font-style: italic;
}

.section-spacer {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .action-buttons {
    flex-direction: row;
  }

  .top-actions {
    justify-content: center;
  }
}