:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: #f6f7fb; color: #0f172a; }

.layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }

/* Sidebar */
.sidebar {
  background: #0b1220;
  color: #e5e7eb;
  padding: 8px 14px 14px; /* tighter top padding */
}

.brand { font-weight: 700; letter-spacing: .2px; margin-bottom: 14px; }

.nav { display: grid; gap: 6px; }
.nav__link {
  color: #cbd5e1;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 10px;
}
.nav__link:hover { background: rgba(255,255,255,.06); }
.nav__link.is-active { background: rgba(255,255,255,.12); color: #fff; }

/* Main */
.main { padding: 18px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
h1 { margin: 0; font-size: 22px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.card { background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.card__label { color: #64748b; font-size: 13px; }
.card__value { font-size: 26px; font-weight: 700; margin-top: 6px; }

/* Panel */
.panel { background: #fff; border-radius: 14px; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.muted { color: #64748b; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: #0f172a; color: #fff; border-color: #0f172a; }

/* Tables */
.tablewrap { overflow: auto; border: 1px solid #e2e8f0; border-radius: 12px; margin-top: 12px; }
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid #eef2f7; text-align: left; }
.table th { font-size: 12px; color: #475569; background: #f8fafc; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

/* Brand logo (tight, not taking half sidebar height) */
.brand--logo{
  display:flex;
  align-items:center;
  justify-content:flex-start; /* σταθερά αριστερά */
  padding: 6px 10px 8px;
  margin-bottom: 6px;
}

.brand--logo a{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  width:auto;                 /* 🔑 όχι 100% */
}

.brand--logo img{
  max-width: 88px;            /* μικρότερο */
  width: auto;                /* 🔑 όχι 100% */
  height:auto;
  display:block;
}

/* Mobile */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 0; }
  .cards { grid-template-columns: 1fr; }
}
