
/* styles-modern.css – Notion-Inspired Refresh */

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

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

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

h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #444;
  margin-top: 40px;
  border-bottom: 1px solid #eee;
  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 #ddd;
  background-color: #fff;
  color: #202124;
  width: 220px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

input:focus, select:focus {
  outline: none;
  border-color: #888;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

button {
  background-color: #f1f3f4;
  color: #202124;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  background-color: #e0e0e0;
  border-color: #bbb;
}

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

.nav-tabs button {
  padding: 10px 18px;
  border-radius: 24px;
  background-color: #f1f3f4;
  border: 1px solid #ccc;
  font-weight: 500;
}

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

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

thead tr {
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

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

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

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

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

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

.entry-log-wrapper input,
.entry-log-wrapper select {
  width: 100%;
  max-width: 100%;
  font-size: 0.95rem;
}

.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: #f1f3f4;
  color: #202124;
  border: 1px solid #ccc;
  border-radius: 6px;
}

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

.small-button.danger {
  background-color: #fce8e6;
  color: #d93025;
  border-color: #f7c5c0;
}

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

.summary-player {
  background-color: #fdfdfd;
  border: 1px solid #e2e2e2;
  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 #eee;
  padding-bottom: 10px;
}

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

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

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