.dashboard-container {
  margin: 0 auto;
}

/* Header */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dash-header h1 {
  font-size: 1.5rem;
  color: var(--text_white);
  margin: 0;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--background_white);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 0.85rem;
  color: var(--text_muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text_color);
}

/* Table Controls */
.table-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.table-controls input,
.table-controls select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
}

.table-controls input {
  flex: 1;
}

/* Table Styling */
.table-wrapper {
  background: var(--background_white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow-x: auto;
}

.sessions-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.sessions-table th {
  background: #f1f5f9;
  padding: 14px 16px;
  color: var(--text_muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.sessions-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 300;
}

/* Badges & Buttons */
.plate-badge {
  /* background: #fef08a; */
  color: #667eea;
  /* color: #092e74; */
  padding: 4px 10px;
  border-radius: 6px;
  border: #667eea solid 1px;
  font-family: monospace;
  font-size: 0.95rem;
  width: 100%;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 300;
  text-transform: uppercase;
}

.status-active {
  background: var(--background_red);
  color: var(--text_white);
}

.status-completed {
  background: var(--background_green);
  color: var(--text_white);
}

.btn-pay {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  /* background: var(--background_green); */
  color: var(--text_white);
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.btn-pay:hover {
  opacity: 0.9;
}

.paid-check {
  color: var(--background_green);
  font-weight: 700;
}

.session-row em {
  color: var(--text_orange);
  font-weight: 800;
}

@media (max-width: 768px) {
  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dash-header h1 {
    font-size: 1.3rem;
  }

  .table-controls {
    flex-direction: column;
  }

  .table-controls input,
  .table-controls select {
    width: 100%;
  }

  .sessions-table {
    table-layout: fixed;
    width: 100%;
  }

  .sessions-table th,
  .sessions-table td {
    padding: 10px 8px;
    font-size: 0.75rem;
    word-break: break-word;
  }

  .sessions-table th:nth-child(1),
  .sessions-table td:nth-child(1),
  .sessions-table th:nth-child(3),
  .sessions-table td:nth-child(3),
  .sessions-table th:nth-child(4),
  .sessions-table td:nth-child(4),
  .sessions-table th:nth-child(5),
  .sessions-table td:nth-child(5),
  .sessions-table th:nth-child(7),
  .sessions-table td:nth-child(7) {
    display: none;
  }

  .sessions-table th:nth-child(2),
  .sessions-table td:nth-child(2) {
    width: 24%;
  }

  .sessions-table th:nth-child(5),
  .sessions-table td:nth-child(5) {
    width: 18%;
  }

  .sessions-table th:nth-child(6),
  .sessions-table td:nth-child(6) {
    width: 18%;
  }

  .sessions-table th:nth-child(8),
  .sessions-table td:nth-child(8) {
    width: 22%;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 560px) {
  .dashboard-container {
    padding: 0 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 16px;
  }

  .table-wrapper {
    border-radius: 10px;
  }

  .sessions-table {
    min-width: 0;
  }

  .plate-badge {
    display: inline-block;
    min-width: 90px;
    text-align: center;
  }

  .btn-pay {
    width: 100%;
    padding: 8px 10px;
  }
}
