.card {
  width: 100%;
  height: auto;
}
.data-section {
  margin-bottom: 2rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.status-badge.sent {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.unsent {
  background: #fee2e2;
  color: #991b1b;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.data-table thead {
  background: rgba(0, 0, 255, 0.653);
}

.data-table th {
  padding: 1rem;
  text-align: left;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

.data-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
  color: var(--bg-card);
}
.action-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-download {
  background: #10b981;
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-download:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-retry {
  background: #f59e0b;
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-retry:hover {
  background: #d97706;
  transform: translateY(-1px);
}
.btn-clear,
.btn-lock {
  background: #ef4444;
  color: white;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-clear:hover,
.btn-lock:hover {
  background: #dc2626;
  transform: translateY(-1px);
}
.gorank {
  background: transparent;
  color: var(--bg-card);
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
  border: var(--border-color) 1px solid;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  text-align: center;
}
.btn-group a{
  width: 90%;
}
.empty-state {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

.empty-state svg {
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px var(--border-color);
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
}

.data-section { overflow-x: auto; }
.data-table { min-width: 800px; border-radius: 0; box-shadow: none; }
.data-table thead { background: #e7ecea; }
.data-table th { color: var(--text-primary); font-size: .875rem; white-space: nowrap; padding: 12px 10px; }
.data-table td { color: var(--text-primary); padding: 12px 10px; }
.data-table tbody tr:hover { background: #f5f8f6; }
.stats-grid { gap: 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.stat-card { background: transparent; border-radius: 0; box-shadow: none; padding: 14px 18px; }
.stat-card + .stat-card { border-left: 1px solid var(--border-color); }
.stat-value { font-size: 1.5rem; color: var(--text-primary) !important; }
.btn-download, .btn-retry, .btn-clear, .delete-record { min-height: 44px; border-radius: 6px; padding: 10px 14px; font: inherit; font-weight: 600; cursor: pointer; transform: none; }
.btn-download { background: var(--primary-color); }
.btn-download:hover { background: var(--primary-dark); transform: none; }
.btn-retry { background: #e7ecea; color: var(--text-primary); }
.btn-retry:hover { background: #d9e2df; transform: none; }
.btn-clear, .delete-record { background: transparent; color: #a33737; border: 1px solid #c78d8d; }
.btn-clear:hover, .delete-record:hover { background: #fceeee; transform: none; }
.gorank { color: var(--text-primary); min-height: 44px; display: inline-flex; justify-content: center; }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-card { padding: 10px; }
  .stat-card + .stat-card { border-left: 1px solid var(--border-color); }
  .stat-label { font-size: .75rem; }
  .stat-value { font-size: 1.25rem; }
}
