
/* styles-dark-modern.css – Linear-Inspired Dark Mode */

body {
  margin: 0;
  font-family: 'Inter', 'system-ui', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  padding: 40px;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 960px;
  background-color: #1a1a1a;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 40px;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #ccc;
  margin-top: 40px;
  border-bottom: 1px solid #2c2c2c;
  padding-bottom: 6px;
}

section {
  margin-bottom: 40px;
}

input, select, button {
  font-size: 16px;
  padding: 12px 14px;
  margin: 6px 0;
  border-radius: 8px;
  font-family: inherit;
}

input, select {
  border: 1px solid #333;
  background-color: #1e1e1e;
  color: #e0e0e0;
  width: 220px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.05);
}

input:focus, select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

button {
  background-color: #2a2a2a;
  color: #f0f0f0;
  border: 1px solid #3c3c3c;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background-color: #333;
  border-color: #555;
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.nav-tabs button {
  padding: 10px 18px;
  border-radius: 24px;
  background-color: #1e1e1e;
  border: 1px solid #3a3a3a;
  color: #aaa;
}

.nav-tabs button.active-tab {
  background-color: #3b82f6;
  color: white;
  border: 1px solid #3b82f6;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}

thead tr {
  background-color: #2a2a2a;
  border-bottom: 1px solid #3a3a3a;
}

th, td {
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid #2c2c2c;
}

tr:nth-child(even) {
  background-color: #1e1e1e;
}

.positive {
  color: #22c55e;
  font-weight: 600;
}

.negative {
  color: #ef4444;
  font-weight: 600;
}

.entry-log-wrapper {
  overflow-x: auto;
  background-color: #1e1e1e;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  padding: 16px;
}

.entry-log-wrapper input,
.entry-log-wrapper select {
  width: 100%;
  max-width: 100%;
  font-size: 0.95rem;
  background-color: #121212;
  color: #e0e0e0;
  border: 1px solid #333;
}

.entry-log-wrapper table {
  min-width: 600px;
  border-collapse: collapse;
}

.entry-log-wrapper th,
.entry-log-wrapper td {
  padding: 10px;
}

.small-button {
  font-size: 0.85rem;
  padding: 6px 12px;
  background-color: #2a2a2a;
  color: #ccc;
  border: 1px solid #444;
  border-radius: 6px;
}

.small-button:hover {
  background-color: #333;
}

.small-button.danger {
  background-color: #3c2a2a;
  color: #ef4444;
  border-color: #ef4444;
}

.small-button.danger:hover {
  background-color: #522;
}

.summary-player {
  background-color: #1e1e1e;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 16px;
}

.summary-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-bottom: 1px solid #2c2c2c;
  padding-bottom: 10px;
}

.summary-player-content {
  margin-top: 16px;
}

#game-table .totals-row {
  background-color: #2a2a2a;
  font-weight: 600;
}

#restore-date-select {
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 6px;
  margin-top: 8px;
}
