:root {
  --bg: #ffffff;
  --text: #141a29;
  --muted: #5b6b8a;
  --brand: #3756b5;
  --header: #142357;
  --border: #20315e;
}

* {
  box-sizing: border-box;
}

html, body, #app {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
}

.board-title {
  font-size: 40px;
  margin: 0 0 12px 4px;
  color: var(--brand);
}

.table-wrapper {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

thead th {
  background: var(--header);
  color: #fff;
  padding: 12px 10px;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  border-right: 2px solid rgba(255,255,255,0.3);
}

thead th:last-child {
  border-right: none;
}

tbody td {
  padding: 12px 10px;
  text-align: center;
  border-top: 1px solid #e0e6f3;
  border-right: 2px solid #d2d9eb;
  color: var(--text);
}

tbody td:last-child {
  border-right: none;
}

.empty-row td {
  color: #8fa3d6;
  padding: 24px 0;
}

.muted {
  color: var(--muted);
}

.legend {
  margin: 10px 4px 0;
  font-size: 13px;
}

.layout {
  background: var(--bg);
  min-height: 100vh;
  color: var(--text);
}

.navbar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px 22px;
  background: #ffffff;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  border-bottom: 1px dashed #e0e6f3;
}

.brand {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  font-weight: 700;
  color: var(--brand);
  font-size: 28px;
}

.control-buttons {
  position: absolute;
  right: 20px;
  top: 8px;
}

.hidBtn {
  width: 60px;
  height: 30px;
  border: transparent;
  background: white;
  color: transparent;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
}

.hidBtn:hover {
  background: #30f1e6;
  border: #2c3e50 solid 2px;
  color: #2c3e50;
}

.fullscreen-btn {
  margin-right: 10px;
}

.exit-btn {
  margin-left: 10px;
}

.links a {
  color: #3552a8;
  margin-left: 16px;
  text-decoration: none;
}

.links a.router-link-active {
  color: #0f1f57;
  font-weight: 700;
}

.content {
  padding: 24px 24px 40px;
}
