@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap");

:root {
  --bg: #0f1412;
  --panel: #151c17;
  --panel-2: #1b241d;
  --text: #e8f0ea;
  --muted: #9db2a6;
  --accent: #32c36c;
  --accent-2: #2b8b53;
  --danger: #d1605e;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at 20% 10%, #1e2a23 0, transparent 40%),
    radial-gradient(circle at 80% 0%, #202b24 0, transparent 35%),
    var(--bg);
  color: var(--text);
}

.app {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.header h1 {
  margin: 0 0 4px 0;
  font-size: 26px;
  letter-spacing: 0.2px;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.badge {
  background: var(--panel-2);
  color: var(--accent);
  border: 1px solid rgba(50, 195, 108, 0.3);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
  min-height: 520px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel-header h2 {
  font-size: 16px;
  margin: 0;
}

.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-1px);
  border-color: rgba(50, 195, 108, 0.4);
}

.card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(50, 195, 108, 0.3);
}

.card h3 {
  margin: 0 0 6px 0;
  font-size: 15px;
}

.meta {
  color: var(--muted);
  font-size: 12px;
}

.tag {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(50, 195, 108, 0.2);
  color: var(--accent);
  border-radius: 6px;
  font-size: 11px;
  margin-top: 6px;
}

.hall-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hall-tab {
  padding: 6px 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
}

.hall-tab.active {
  background: var(--accent);
  color: #0e1a12;
  border-color: transparent;
}

.hall {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.table {
  background: #0f1c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.table:hover {
  transform: translateY(-1px);
  background: #13261a;
}

.table.selected {
  background: var(--accent);
  color: #0e1a12;
}

.table.assigned {
  border-color: rgba(209, 96, 94, 0.5);
  color: #ffb8b6;
}

.hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
}
