/* Φόρμα σύνδεσης μαθητή — στο ύφος του site.css (glass, λευκό κουμπί, στρογγυλά πεδία).
   Πρόθεμα html[data-template] (specificity 0,2,1): ο κανόνας html[data-family="pages"] section{padding:0 0 140px}
   του site.css (0,1,2) μηδένιζε το padding της κάρτας (section.glass.mf-card). Κείμενο από τον χρήστη (24/11/2026). */
html[data-template] .mf-card,html[data-template] .mf-card *,html[data-template] .mf-card *::before,html[data-template] .mf-card *::after{box-sizing:border-box}
html[data-template] .mf-card{width:100%;max-width:520px;padding:40px 44px !important;margin:0 0 120px}
html[data-template] .mf-card .mf-lead{color:var(--muted);margin:0 0 26px;line-height:1.6}
html[data-template] .mf-form{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;width:100%}
html[data-template] .mf-form>*{min-width:0}
html[data-template] .mf-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;width:100%;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--edge)}
html[data-template] .mf-tab{appearance:none;border:0;background:transparent;color:var(--muted);min-height:44px;padding:10px 12px;border-radius:999px;font:inherit;font-size:15px;line-height:1.25;text-align:center;cursor:pointer;min-width:0}
html[data-template] .mf-tab.is-active{background:#fff;color:#1a2232}
html[data-template] .mf-row{display:grid;gap:18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html[data-template] .mf-field{display:grid;gap:8px;font-size:15px;color:var(--muted);min-width:0}
html[data-template] .mf-field input{display:block;width:100%;min-width:0;font:inherit;font-size:16px;color:var(--ink);background:rgba(255,255,255,.07);border:1px solid var(--edge);border-radius:14px;padding:13px 16px;outline:none}
html[data-template] .mf-field input:focus{border-color:var(--edge-strong);background:rgba(255,255,255,.11)}
html[data-template] .mf-submit{appearance:none;border:0;cursor:pointer;justify-self:start;min-height:48px;padding:14px 28px;border-radius:999px;background:#fff;color:#1a2232;font:inherit;font-size:16px;font-weight:500}
html[data-template] .mf-submit[disabled]{opacity:.6;cursor:default}
html[data-template] .mf-error{margin:0;color:#ffb4a1;font-size:15px}
html[data-template] .mf-help,html[data-template] .mf-note{margin:0;color:var(--muted);line-height:1.6}
html[data-template] .mf-field input[readonly]{opacity:.75;cursor:default}
html[data-template] .mf-ok{margin:0;color:#7fd6a4;font-size:16px;line-height:1.6}
html[data-template] .mf-link{appearance:none;background:none;border:0;padding:0;min-height:44px;justify-self:start;display:inline-flex;align-items:center;color:var(--accent);font:inherit;font-size:16px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}
html[data-template] .mf-check{display:flex;gap:12px;align-items:flex-start;min-height:44px;color:var(--muted);font-size:16px;line-height:1.5;cursor:pointer}
html[data-template] .mf-check input{width:22px;height:22px;margin:2px 0 0;flex:none;accent-color:var(--accent)}
html[data-template] .mf-check a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
/* Λογαριασμός: κάρτες η μία κάτω από την άλλη */
html[data-template] .mf-account{display:grid;gap:18px;max-width:520px;margin:0 0 120px}
html[data-template] .mf-account .mf-card{margin:0}
html[data-template] .mf-account__card{display:grid;gap:16px}
html[data-template] .mf-account__card h2{font-size:22px;line-height:1.3;margin:0}
html[data-template] .mf-account__card a.mf-submit{display:inline-flex;align-items:center;text-decoration:none;color:#1a2232}
html[data-template] .mf-readonly{display:grid;gap:6px;color:var(--muted);font-size:15px}
html[data-template] .mf-readonly strong{color:var(--ink);font-size:16px;font-weight:500;overflow-wrap:anywhere}
html[data-template] .mf-soon{margin:0;justify-self:start;padding:4px 12px;border-radius:999px;border:1px solid var(--edge);color:var(--soft);font-size:14px}
html[data-template] .mf-ghost{appearance:none;cursor:pointer;justify-self:start;min-height:48px;padding:12px 26px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.45);color:#fff;font:inherit;font-size:16px}
@media (max-width:640px){html[data-template] .mf-card{padding:26px 20px !important;margin-bottom:80px}html[data-template] .mf-row{grid-template-columns:minmax(0,1fr)}html[data-template] .mf-tab{font-size:14px;padding:10px 8px}html[data-template] .mf-submit,html[data-template] .mf-ghost{width:100%;justify-self:stretch}html[data-template] .mf-account{margin-bottom:80px}}
