/* ─── FOOTER ─── */
/* SITE FOOTER (SEO + UX) */
/* Extracted verbatim από prototype_v2.html (authoritative <style>) */

/* ============ SITE FOOTER (SEO + UX) ============ */
.site-footer {
  margin-top: 64px;
  padding: 40px 0 24px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 0 0 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-about { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin: 0 0 12px; }
.footer-meta { font-size: 12px; color: var(--text-faint); margin: 0; }
@media (max-width: 600px) {
  .site-footer { padding: 32px 0 20px; margin-top: 40px; }
  .footer-grid { gap: 20px; }
}
.calc-score-bar {
  height: 6px; background: rgba(15,23,42,0.08);
  border-radius: 3px; overflow: hidden;
}
.calc-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--petrol));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.calc-results-panel {
  min-height: 400px;
}
.calc-results-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.calc-legend {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
}
.legend-tag {
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid;
  cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 4px;
  opacity: 0.5; transition: opacity 0.15s, box-shadow 0.15s, transform 0.1s;
}
.legend-tag:hover { opacity: 0.8; }
.legend-tag:active { transform: scale(0.96); }
.legend-tag.legend-active { opacity: 1; font-weight: 700; box-shadow: 0 0 0 2px rgba(0,0,0,0.05); }
.legend-tag.legend-empty { opacity: 0.3; cursor: default; box-shadow: none; pointer-events: none; }
.legend-safe   { color: #15803d; border-color: #86efac; background: #f0fdf4; }
.legend-target { color: #ca8a04; border-color: #fde68a; background: #fefce8; }
.legend-edge   { color: #c2410c; border-color: #fed7aa; background: #fff7ed; }
.legend-hard   { color: #94a3b8; border-color: #e2e8f0; background: #f8fafc; }

.calc-group {
  margin-bottom: 18px;
}
.calc-group-head {
  position: sticky; top: 86px; z-index: 5;
  background: var(--bg);
  padding: 10px 14px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: none; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; cursor: pointer; font-family: inherit; color: inherit;
}
.calc-group-head:hover { background: var(--surface); }
.calc-group-head .count { font-weight: 600; color: var(--text-dim); text-transform: none; letter-spacing: 0; display: inline-flex; align-items: center; gap: 6px; }
.calc-chevron { display: inline-block; transition: transform 0.15s; color: var(--text-faint); font-size: 12px; }
.calc-group-head[aria-expanded="false"] .calc-chevron { transform: rotate(-90deg); }
.calc-group-body[hidden] { display: none; }
.calc-group.safe .calc-group-head { color: #15803d; border-color: #86efac; }
.calc-group.target .calc-group-head { color: #ca8a04; border-color: #fde68a; }
.calc-group.edge .calc-group-head { color: #c2410c; border-color: #fed7aa; }
.calc-group.hard .calc-group-head { color: #64748b; }

.calc-row {
  display: grid; grid-template-columns: 36px 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.calc-row-right { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.calc-row-vasi-block { text-align: right; }
@media (max-width: 600px) {
  .calc-row { grid-template-columns: 30px 1fr auto; gap: 10px; padding: 9px 11px; }
  .calc-row-right { flex-direction: column; align-items: flex-end; gap: 5px; }
}
.calc-row:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateX(3px); }
@media (max-width: 600px) { .calc-row:hover { transform: none; } }
.calc-row-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.calc-row-icon.safe   { background: #dcfce7; color: #15803d; }
.calc-row-icon.target { background: #fef9c3; color: #ca8a04; }
.calc-row-icon.edge   { background: #ffedd5; color: #c2410c; }
.calc-row-icon.hard   { background: #f1f5f9; color: #94a3b8; }
.calc-row-name {
  font-size: 13px; font-weight: 600; line-height: 1.3;
}
.calc-row-meta { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.calc-row-vasi {
  text-align: right; font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.calc-row-vasi-label { font-size: 10px; color: var(--text-faint); font-weight: 400; }
.calc-row-diff {
  text-align: right; font-size: 11.5px; font-weight: 600;
  padding: 4px 8px; border-radius: 999px;
}
.diff-pos { color: #15803d; background: #f0fdf4; }
.diff-neg { color: #b91c1c; background: #fef2f2; }
.diff-zero { color: #64748b; background: #f1f5f9; }

.calc-empty {
  padding: 40px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 13px;
}
.precise-badge {
  display: inline-block;
  font-size: 9.5px; font-weight: 600;
  color: #15803d; background: #f0fdf4;
  border: 1px solid #86efac;
  padding: 1px 6px; border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
}
.calc-row-myscore {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0d9488; /* teal — διακριτό από το πορτοκαλί της βάσης */
  font-variant-numeric: tabular-nums;
}
.calc-row-myscore .lbl {
  font-weight: 500;
  color: var(--text-dim);
}
.calc-results-hint {
  font-size: 11.5px; line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 12px; padding: 9px 13px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px;
}
.calc-results-hint .hint-mine { color: #0d9488; font-weight: 700; }
.calc-results-hint .hint-base { color: var(--accent); font-weight: 700; }

/* Δείκτης ΕΒΕ (εκτίμηση) στις κάρτες αποτελεσμάτων */
.eve-badge {
  display: inline-block;
  font-size: 9.5px; font-weight: 600;
  padding: 1px 6px; border-radius: 999px;
  margin-left: 4px; vertical-align: middle;
  border: 1px solid; cursor: help;
}
.eve-pass { color: #15803d; background: #f0fdf4; border-color: #86efac; }
.eve-edge { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
.eve-fail { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }

/* Σχολές που χρειάζονται ειδικό μάθημα (αδήλωτο) */
.calc-group.needs .calc-group-head { color: #64748b; border-color: #cbd5e1; }
.calc-needs-note { font-size: 11.5px; color: var(--text-faint); padding: 2px 14px 8px; }
.calc-row-needs { opacity: 0.9; }
.calc-row-icon.needs { background: #eef2f7; color: #64748b; }
.needs-badge {
  display: inline-block;
  font-size: 9.5px; font-weight: 600;
  color: #475569; background: #f1f5f9; border: 1px solid #cbd5e1;
  padding: 1px 6px; border-radius: 999px;
  margin-left: 4px; vertical-align: middle;
}

/* Επεξηγηματικό πλαίσιο «μόρια vs ΕΒΕ» */
.calc-eve-info { margin-top: 12px; }
.calc-eve-info-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--accent-dim); font-size: 12px; font-weight: 600;
}
.calc-eve-info-btn:hover { text-decoration: underline; }
.calc-eve-info-btn .icon { width: 14px; height: 14px; }
.calc-eve-info-body {
  margin-top: 8px; padding: 11px 13px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; font-size: 12px; line-height: 1.55; color: var(--text-dim);
}
.calc-eve-info-body p { margin: 0 0 8px; }
.calc-eve-info-body p:last-child { margin-bottom: 0; }
.calc-eve-info-note { font-size: 11px; color: var(--text-faint); }

/* AI Σύμβουλος — chat enhancements */
.ai-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 12px;
}
.ai-chip {
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px; color: var(--text);
  cursor: pointer; transition: all 0.15s;
}
.ai-chip:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dim); }
.ai-cards-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin-top: 10px;
}
@media (max-width: 560px) { .ai-cards-grid { grid-template-columns: 1fr; } }
.ai-mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer; transition: all 0.15s;
}
.ai-mini-card:hover { border-color: var(--petrol); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.ai-mini-tags { display: flex; gap: 5px; margin-bottom: 5px; }
.ai-mini-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; margin-bottom: 3px; }
.ai-mini-meta { font-size: 10.5px; color: var(--text-dim); }
.ai-mini-vasi {
  font-size: 11px; color: var(--text-dim); margin-top: 6px;
  display: flex; justify-content: space-between; align-items: center;
}
.ai-mini-vasi strong { color: var(--accent); font-size: 13px; font-variant-numeric: tabular-nums; }

.ai-section-label {
  font-size: 12px; font-weight: 700;
  margin-top: 12px; margin-bottom: 4px;
  color: var(--text-dim);
}
.ai-quote {
  margin: 8px 0;
  padding: 12px 14px;
  background: var(--surface);
  border-left: 3px solid var(--petrol);
  border-radius: 6px;
  font-size: 13px; line-height: 1.55;
  color: var(--text);
}
.ai-cite {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-faint);
  font-style: italic;
}
.ai-cite a { color: var(--petrol); font-style: normal; }
.ai-compare-table { overflow-x: auto; margin: 10px 0; }
.ai-cmp { width: 100%; border-collapse: collapse; font-size: 12px; background: var(--surface); border-radius: 8px; overflow: hidden; }
.ai-cmp thead { background: var(--surface-2); }
.ai-cmp th { text-align: left; padding: 8px 10px; font-size: 10.5px; text-transform: uppercase; color: var(--text-dim); letter-spacing: 0.04em; }
.ai-cmp td { padding: 8px 10px; border-top: 1px solid var(--border); cursor: pointer; }
