/* ============================================================
   panellinies4u.gr — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f5f7fb;
  --card:      #ffffff;
  --primary:   #1b3b8a;
  --primary-h: #162f70;
  --secondary: #dde4f5;
  --fg:        #0f1c3f;
  --muted-fg:  #6b7ba4;
  --muted-bg:  #edf0f7;
  --input-bg:  #f0f3fb;
  --border:    rgba(27,59,138,0.13);
  --danger:    #c8192d;
  --success:   #0f7d4b;
  --radius:    0.75rem;
  --shadow-sm: 0 1px 3px rgba(15,28,63,0.08), 0 1px 2px rgba(15,28,63,0.04);
  --shadow-md: 0 4px 12px rgba(15,28,63,0.10), 0 2px 4px rgba(15,28,63,0.06);
  --shadow-lg: 0 10px 30px rgba(15,28,63,0.13), 0 4px 8px rgba(15,28,63,0.06);
}

html { font-size: 16px; }
/* Safety: prevent any unstyled SVG from rendering at full viewport size */
svg { overflow: hidden; max-width: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4, .brand {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Layout helpers --------------------------------------- */
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.center-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }

/* --- Topbar ---------------------------------------------- */
.topbar {
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(15,28,63,0.18);
}
.topbar-brand { display: flex; align-items: center; gap: 0.6rem; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.05rem; }
.topbar-icon { width: 2rem; height: 2rem; background: rgba(255,255,255,0.18); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; }
.topbar-icon svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-user { font-size: 0.82rem; opacity: 0.75; }
.topbar-logout { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.8); cursor: pointer; background: none; border: none; font-family: inherit; transition: color 0.15s; }
.topbar-logout:hover { color: #fff; text-decoration: none; }
.topbar-logout svg { width: 0.95rem; height: 0.95rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Topbar variant: light (members) */
.topbar--light {
  background: var(--card);
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.topbar--light .topbar-brand { color: var(--primary); }
.topbar--light .topbar-icon { background: var(--secondary); }
.topbar--light .topbar-icon svg { stroke: var(--primary); }
.topbar--light .topbar-user { color: var(--muted-fg); opacity: 1; }
.topbar--light .topbar-logout { color: var(--muted-fg); }
.topbar--light .topbar-logout:hover { color: var(--primary); }

/* --- Card ------------------------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.card--wide { max-width: 28rem; width: 100%; }

/* --- Form elements ---------------------------------------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--fg); margin-bottom: 0.4rem; font-family: 'Outfit', sans-serif; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
select, textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--fg);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,59,138,0.12); }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 2.5rem; }
.pw-toggle {
  position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--muted-fg); padding: 0.2rem;
  display: flex; align-items: center;
}
.pw-toggle:hover { color: var(--fg); }
.pw-toggle svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.88rem;
  padding: 0.65rem 1.1rem; border-radius: 0.625rem; border: none; cursor: pointer;
  transition: opacity 0.15s, transform 0.1s; text-decoration: none; line-height: 1;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 0.95rem; height: 0.95rem; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.btn--primary { background: var(--primary); color: #fff; }
.btn--secondary { background: var(--secondary); color: var(--primary); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--muted-bg); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--sm { padding: 0.4rem 0.75rem; font-size: 0.8rem; border-radius: 0.5rem; }
.btn--full { width: 100%; justify-content: center; padding: 0.8rem; font-size: 0.95rem; }

/* --- Alerts ---------------------------------------------- */
.alert { display: flex; align-items: center; gap: 0.55rem; padding: 0.7rem 0.9rem; border-radius: 0.6rem; font-size: 0.84rem; margin-bottom: 1rem; }
.alert svg { width: 1rem; height: 1rem; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alert--error { background: rgba(200,25,45,0.08); color: var(--danger); border: 1px solid rgba(200,25,45,0.2); }
.alert--success { background: rgba(15,125,75,0.08); color: var(--success); border: 1px solid rgba(15,125,75,0.2); }
.alert--info { background: var(--secondary); color: var(--primary); border: 1px solid var(--border); }

/* --- Demo hint box --------------------------------------- */
.hint-box { background: var(--muted-bg); border: 1px solid var(--border); border-radius: 0.6rem; padding: 0.75rem 0.9rem; font-size: 0.78rem; color: var(--muted-fg); margin-top: 1.1rem; }
.hint-box strong { color: var(--fg); }

/* --- Page header (inside main) --------------------------- */
.page-header { margin-bottom: 1.75rem; }
.page-header h1 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.page-header p { color: var(--muted-fg); font-size: 0.88rem; }

/* --- Admin secondary nav --------------------------------- */
.admin-nav {
  background: #0f2260;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-nav-inner::-webkit-scrollbar { display: none; }
.admin-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s;
}
.admin-nav-tab:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.admin-nav-tab.active { color: #fff; border-bottom-color: #60a5fa; }
.admin-nav-tab svg {
  width: 0.9rem; height: 0.9rem;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* --- Input format hint ----------------------------------- */
.input-hint {
  font-size: 0.72rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
  display: block;
}

/* --- Lesson info box (AJAX result) ----------------------- */
.lesson-info-box {
  background: var(--secondary);
  border: 1px solid rgba(27,59,138,0.2);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: none;
}
.lesson-info-box.visible { display: block; }
.lesson-info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  margin-bottom: 0.3rem;
}
.lesson-info-row:last-child { margin-bottom: 0; }
.lesson-info-label {
  font-weight: 700;
  color: var(--primary);
  min-width: 5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lesson-info-val { color: var(--fg); font-weight: 500; }

/* --- Grade badge ----------------------------------------- */
.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
}
.grade-high   { background: #ecfdf5; color: #15803d; }
.grade-mid    { background: #fffbeb; color: #b45309; }
.grade-low    { background: #fef2f2; color: #b91c1c; }

/* --- Stats row ------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; display: flex; align-items: flex-start; gap: 0.85rem; box-shadow: var(--shadow-sm); }
.stat-icon { width: 2.2rem; height: 2.2rem; background: var(--secondary); border-radius: 0.6rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon svg { width: 1.1rem; height: 1.1rem; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stat-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); margin-bottom: 0.15rem; }
.stat-value { font-size: 1.6rem; font-weight: 800; font-family: 'Outfit', sans-serif; color: var(--fg); line-height: 1; }

/* --- Table area ------------------------------------------ */
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.table-toolbar h2 { font-size: 1.05rem; }
.toolbar-right { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }

.search-wrap { position: relative; }
.search-wrap input { padding-left: 2.1rem; width: 14rem; }
.search-wrap svg { position: absolute; left: 0.6rem; top: 50%; transform: translateY(-50%); width: 0.9rem; height: 0.9rem; stroke: var(--muted-fg); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
thead tr { border-bottom: 1px solid var(--border); }
th { text-align: left; padding: 0.75rem 1.1rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); white-space: nowrap; }
td { padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(237,240,247,0.45); }
tbody tr:hover { background: var(--secondary); }
.td-name { font-weight: 600; color: var(--fg); }
.td-muted { color: var(--muted-fg); }
.td-mono { font-family: 'Inter', monospace; color: var(--muted-fg); }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.action-btn { background: none; border: none; cursor: pointer; color: var(--muted-fg); padding: 0.35rem; border-radius: 0.5rem; display: flex; transition: background 0.12s, color 0.12s; }
.action-btn svg { width: 0.95rem; height: 0.95rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.action-btn:hover { background: var(--muted-bg); color: var(--primary); }
.action-btn--delete:hover { background: rgba(200,25,45,0.08); color: var(--danger); }
.empty-row td { text-align: center; padding: 3rem; color: var(--muted-fg); }

/* --- Modal ----------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,28,63,0.45);
  backdrop-filter: blur(3px); display: flex; align-items: center;
  justify-content: center; z-index: 200; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.18s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.25rem); padding: 1.75rem;
  width: 100%; max-width: 28rem; box-shadow: var(--shadow-lg);
  transform: translateY(8px); transition: transform 0.18s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.modal-header h3 { font-size: 1.05rem; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--muted-fg); padding: 0.25rem; border-radius: 0.4rem; display: flex; transition: color 0.12s; }
.modal-close:hover { color: var(--fg); }
.modal-close svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.modal-footer { display: flex; gap: 0.65rem; margin-top: 1.25rem; }
.modal-footer .btn { flex: 1; }

/* --- Login card header ----------------------------------- */
.login-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.login-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; }
.login-icon--primary { background: var(--primary); }
.login-icon--secondary { background: var(--secondary); }
.login-icon svg { width: 1.2rem; height: 1.2rem; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.login-icon--primary svg { stroke: #fff; }
.login-icon--secondary svg { stroke: var(--primary); }
.login-title { font-size: 1.05rem; font-weight: 700; font-family: 'Outfit', sans-serif; }
.login-sub { font-size: 0.75rem; color: var(--muted-fg); }

.back-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.83rem; font-weight: 600; color: var(--muted-fg); margin-bottom: 1.5rem; transition: color 0.12s; }
.back-link:hover { color: var(--primary); text-decoration: none; }

/* --- Home page ------------------------------------------- */
.home-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--secondary); color: var(--primary); border: 1px solid rgba(27,59,138,0.2); font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.85rem; border-radius: 99px; margin-bottom: 1.25rem; }
.home-badge svg { width: 0.85rem; height: 0.85rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 0.75rem; }
.home-title span { color: var(--primary); }
.home-subtitle { font-size: 1rem; color: var(--muted-fg); max-width: 28rem; margin: 0 auto 2.5rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; max-width: 36rem; width: 100%; margin: 0 auto; }
.choice-card {
  background: var(--card); border: 1.5px solid var(--border); border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.75rem; text-align: left; cursor: pointer; text-decoration: none; color: var(--fg);
  display: block; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}
.choice-card:hover { border-color: rgba(27,59,138,0.35); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.choice-card--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.choice-card--primary:hover { border-color: var(--primary-h); background: var(--primary-h); }
.choice-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.choice-card--primary .choice-icon { background: rgba(255,255,255,0.18); }
.choice-card:not(.choice-card--primary) .choice-icon { background: var(--secondary); }
.choice-icon svg { width: 1.3rem; height: 1.3rem; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.choice-card--primary .choice-icon svg { stroke: #fff; }
.choice-card:not(.choice-card--primary) .choice-icon svg { stroke: var(--primary); }
.choice-title { font-size: 1rem; font-weight: 700; font-family: 'Outfit', sans-serif; margin-bottom: 0.4rem; }
.choice-desc { font-size: 0.82rem; opacity: 0.72; margin-bottom: 1rem; line-height: 1.5; }
.choice-cta { font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; gap: 0.3rem; }
.choice-card--primary .choice-cta { color: rgba(255,255,255,0.9); }
.choice-card:not(.choice-card--primary) .choice-cta { color: var(--primary); }
.choice-cta svg { width: 0.9rem; height: 0.9rem; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.12s; }
.choice-card:hover .choice-cta svg { transform: translateX(3px); }

/* --- Members content cards ------------------------------- */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; margin-bottom: 1.5rem; }
.content-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; cursor: pointer; transition: box-shadow 0.15s, transform 0.15s; box-shadow: var(--shadow-sm); }
.content-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.content-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 99px; border: 1px solid; margin-bottom: 1rem; }
.badge--blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.badge--green { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.badge--violet { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.content-card-icon { width: 2.4rem; height: 2.4rem; border-radius: 0.65rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.content-card-icon svg { width: 1.1rem; height: 1.1rem; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.content-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.content-card p { font-size: 0.8rem; color: var(--muted-fg); line-height: 1.5; }

.coming-soon-box { background: var(--secondary); border: 1px solid rgba(27,59,138,0.2); border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.coming-soon-box svg { width: 2rem; height: 2rem; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.5; margin: 0 auto 0.75rem; display: block; }
.coming-soon-box h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.coming-soon-box p { font-size: 0.83rem; color: var(--muted-fg); max-width: 26rem; margin: 0 auto; }

/* --- Main content area ----------------------------------- */
.main-content { max-width: 72rem; margin: 0 auto; padding: 2rem 1.5rem; flex: 1; }

/* --- 3D Home Button -------------------------------------- */
.btn-home-3d {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem;
  background: linear-gradient(160deg, #2550b8 0%, #1b3b8a 100%) !important;
  color: #fff !important;
  border: none;
  border-radius: 0.6rem;
  padding: 0.48rem 0.9rem;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  box-shadow:
    0 4px 0 0 #0d2255,
    0 6px 12px rgba(15,28,63,0.28);
  transform: translateY(0);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  vertical-align: middle;
}
.btn-home-3d svg {
  width: 15px !important;
  height: 15px !important;
  stroke: #fff !important;
  fill: none !important;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
}
.btn-home-3d:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 0 #0d2255,
    0 9px 16px rgba(15,28,63,0.3);
  color: #fff !important;
  text-decoration: none !important;
}
.btn-home-3d:active {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 0 #0d2255,
    0 2px 5px rgba(15,28,63,0.18);
}

/* Light topbar variant — gold accent */
.topbar--light .btn-home-3d {
  background: linear-gradient(160deg, #2550b8 0%, #1b3b8a 100%);
}

/* --- Footer ---------------------------------------------- */
footer { text-align: center; padding: 1.25rem; font-size: 0.78rem; color: var(--muted-fg); border-top: 1px solid var(--border); margin-top: auto; }

/* --- Confirm modal icon ---------------------------------- */
.danger-icon { width: 2.75rem; height: 2.75rem; background: rgba(200,25,45,0.1); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.danger-icon svg { width: 1.3rem; height: 1.3rem; stroke: var(--danger); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Setup page ------------------------------------------ */
.setup-warn { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 0.6rem; padding: 0.9rem 1rem; font-size: 0.83rem; color: #c2410c; margin-bottom: 1.25rem; }

/* --- Responsive ------------------------------------------ */
@media (max-width: 640px) {
  .home-title { font-size: 1.8rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .table-toolbar { flex-direction: column; align-items: flex-start; }
  .search-wrap input { width: 100%; }
  th:nth-child(5), td:nth-child(5) { display: none; } /* hide "Εγγραφή" on mobile */
  .topbar-user { display: none; }
  .main-content { padding: 1.25rem 1rem; }
}
