/* FILE: assets/css/layout.css */

/* =========================
   PAGE WRAPPER
========================= */

.page-scale {
  width: 100%;
  min-height: 100vh;
}

/* =========================
   MAIN 3 COLUMN LAYOUT
========================= */

.layout {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 18px;

  padding: 18px;
  align-items: start;
}

/* =========================
   SIDE PANELS
========================= */

.side-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.left-panel,
.right-panel {
  min-width: 0;
}

/* =========================
   CENTER MAIN BOARD
========================= */

.main-board {
  min-width: 0;

  padding: 16px;
  border-radius: 18px;

  border: 1px solid rgba(47,129,247,.75);

  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));

  box-shadow:
    0 0 2px rgba(37,119,238,.50),
    0 0 15px rgba(27,109,228,.95),
    0 10px 24px rgba(0,0,0,.22);
}

/* =========================
   BOARD TITLE ROW
========================= */

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.section-title h2 {
  font-size: 24px;
  letter-spacing: 3px;
  color: #ffffff;

  text-shadow:
    0 0 10px rgba(47,129,247,.28);
}

.section-title span {
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
}

/* =========================
   LOGIN BUTTON
========================= */

.board-login-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 120px;
  padding: 7px 12px;

  border-radius: 10px;
  border: 1px solid rgba(125,183,255,.85);

  background:
    linear-gradient(180deg, rgba(47,129,247,.18), rgba(47,129,247,.08));

  text-decoration: none;
  text-align: center;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 1px;

  color: #d8eaff;

  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 6px rgba(47,129,247,.65);

  box-shadow:
    0 0 10px rgba(47,129,247,.24),
    inset 0 0 12px rgba(47,129,247,.06);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    color .2s ease;
}

.board-login-btn span {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.board-login-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);

  box-shadow:
    0 0 14px rgba(125,183,255,.45),
    0 0 24px rgba(47,129,247,.20),
    inset 0 0 14px rgba(47,129,247,.12);
}

/* =========================
   GENERIC EMPTY BLOCKS
========================= */

.empty strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
  color: #ffffff;
}

.empty p {
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   SMALL HELPERS
========================= */

.full-width {
  grid-column: 1 / -1;
}

.center-text {
  text-align: center;
}

.right-text {
  text-align: right;
}