:root {
  --navy:#102c46;
  --blue:#1679ba;
  --background:#f1f5f9;
  --text:#18334b;
  --muted:#64748b;
  --border:#dfe7ef;
}
* {box-sizing:border-box}
[hidden] {display:none!important}
body {
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:var(--background);
  font-size:14px;
}
button,input,select {font:inherit}
button {
  cursor:pointer;
  border:0;
  border-radius:8px;
  background:var(--blue);
  color:white;
  padding:12px 18px;
  font-weight:600;
}
button:hover:not(:disabled) {filter:brightness(.94)}
button:disabled {cursor:not-allowed;opacity:.4}
h1,h2,h3,p {margin-top:0}
small {display:block;color:var(--muted)}
.login-screen {
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
  background:linear-gradient(135deg,#102c46,#235f86);
}
.login-card {
  width:100%;
  max-width:410px;
  background:white;
  padding:38px;
  border-radius:20px;
  box-shadow:0 20px 60px #0003;
}
.login-card h1 {margin:18px 0 6px;font-size:32px}
.login-card p {color:var(--muted)}
.brand-icon {
  display:grid;
  place-items:center;
  background:#197bb7;
  color:white;
  width:46px;
  height:46px;
  border-radius:12px;
  font-size:18px;
  font-weight:800;
  flex-shrink:0;
}
label {
  display:block;
  font-size:13px;
  font-weight:600;
  margin:14px 0 7px;
}
input,select {
  width:100%;
  background:white;
  border:1px solid #cbd5e1;
  border-radius:8px;
  padding:12px;
  color:var(--text);
}
input:focus,select:focus {
  outline:2px solid #86c8ef;
  border-color:#1679ba;
}
.login-card button {width:100%;margin-top:22px}
.login-card small {text-align:center;margin-top:24px}
.error {color:#b91c1c;margin-top:12px}
.app {
  display:grid;
  grid-template-columns:245px minmax(0,1fr);
  min-height:100vh;
}
.sidebar {
  background:var(--navy);
  color:white;
  padding:22px 15px;
  display:flex;
  flex-direction:column;
}
.brand {display:flex;align-items:center;gap:12px;margin-bottom:30px}
.brand strong {font-size:24px}
.brand small {color:#a7c1d5;font-size:11px;margin-top:4px}
.menu-label {
  font-size:10px;
  letter-spacing:1.3px;
  color:#8faabd;
  margin:22px 10px 10px;
}
.sidebar nav button {
  width:100%;
  text-align:left;
  margin:3px 0;
  background:transparent;
  color:#d4e4ef;
  font-weight:500;
}
.sidebar nav button.active {background:#245b80;color:white}
.sidebar-footer {margin-top:auto;padding:30px 12px 0;color:#8faabd;font-size:12px}
.main {min-width:0}
.topbar {
  min-height:76px;
  padding:18px 30px;
  background:white;
  border-bottom:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.topbar small {margin-top:5px}
.user-area {display:flex;align-items:center;gap:14px}
.secondary {
  background:white;
  color:var(--text);
  border:1px solid var(--border);
}
.content {padding:30px;max-width:1600px;margin:auto}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:24px;
}
.page-heading h1 {font-size:28px;margin-bottom:6px}
.page-heading p {color:var(--muted);margin:0}
.kpis {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-bottom:24px;
}
.kpi,.panel {
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  padding:22px;
  box-shadow:0 3px 9px #102c4605;
}
.kpi .symbol {
  display:inline-flex;
  background:#e8f3fb;
  color:var(--blue);
  padding:10px;
  border-radius:10px;
  font-size:18px;
}
.kpi p {color:var(--muted);margin:15px 0 8px}
.kpi strong {font-size:27px}
.panel {margin-bottom:20px}
.panel h2 {font-size:17px;margin-bottom:20px}
.table-wrap {overflow-x:auto}
table {border-collapse:collapse;width:100%}
th,td {padding:14px 12px;text-align:left;border-bottom:1px solid var(--border)}
th {color:var(--muted);font-size:12px;background:#f8fafc}
.empty {padding:35px;text-align:center;color:var(--muted)}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 20px;
  margin-bottom:18px;
}
.status {color:#16824e;font-weight:600}
footer {font-size:12px;color:var(--muted);margin-top:25px}
#notice:not(:empty) {
  background:white;
  border:1px solid var(--border);
  padding:14px;
  border-radius:8px;
  margin-bottom:18px;
}
@media(max-width:1000px) {
  .app {grid-template-columns:195px minmax(0,1fr)}
  .kpis {grid-template-columns:repeat(2,minmax(0,1fr))}
  .content {padding:20px}
}
@media(max-width:650px) {
  .app {display:block}
  .sidebar {padding:12px}
  .sidebar nav {display:flex;overflow:auto;gap:8px}
  .sidebar nav button {width:auto;white-space:nowrap}
  .sidebar .menu-label,.sidebar-footer {display:none}
  .brand {margin-bottom:10px}
  .topbar {padding:12px}
  .content {padding:14px}
  .kpi,.panel {padding:15px}
  .kpi strong {font-size:21px}
  .form-grid {grid-template-columns:1fr}
  .page-heading h1 {font-size:23px}
}

/* SOFTNAVE V0.2 */

.deck {
  max-width:max-content;
  min-width:260px;
  margin:20px auto;
  padding:20px;
  background:#f8fafc;
  border:2px solid #b9cedd;
  border-radius:45px 45px 14px 14px;
  overflow-x:auto;
}

.deck-label {
  text-align:center;
  padding:14px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
  letter-spacing:2px;
}

.seat-row {
  display:flex;
  justify-content:center;
  gap:8px;
  margin:8px 0;
}

.seat {
  width:44px;
  height:46px;
  padding:0;
  background:#dcefe5;
  border:1px solid #a6cfba;
  color:#19603f;
  border-radius:8px 8px 4px 4px;
}

.seat:hover {
  background:#1679ba;
  color:white;
}

.seat-space {
  width:44px;
  height:46px;
}

.aisle {width:25px}

form>button {
  margin:5px 8px 5px 0;
}

