/* Pre učiteľov, portál učiteľa, administrácia (nadväzuje na page.css) */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; }
.nav__links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hero { padding: 40px 0 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); color: #fff1d2; margin: 8px 0 16px; }
.hero p.lead { font-size: 1.12rem; color: var(--parchment-2); max-width: 560px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero__img { border-radius: 18px; overflow: hidden; border: 1px solid rgba(201,154,46,.4); box-shadow: 0 30px 80px rgba(0,0,0,.55); aspect-ratio: 1200/630; background: center/cover no-repeat; }
.sec { padding: 46px 0; border-top: 1px solid rgba(201,154,46,.16); }
.sec > h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); margin-bottom: 8px; }
.sec > p.sub { color: var(--muted); margin-bottom: 26px; max-width: 680px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: rgba(37,29,22,.62); border: 1px solid rgba(201,154,46,.25); border-radius: 14px; padding: 20px 20px 18px; }
.card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.card p { color: var(--parchment-2); font-size: .95rem; }
.card .num { font-family: 'Cinzel', serif; font-weight: 800; color: var(--gold); font-size: 1.6rem; line-height: 1; margin-bottom: 8px; display: block; }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { border-radius: 16px; padding: 24px; border: 1px solid rgba(201,154,46,.3); background: rgba(37,29,22,.55); }
.plan--pro { border: 2px solid var(--gold); background: linear-gradient(180deg, rgba(74,54,30,.75), rgba(37,29,22,.75)); box-shadow: 0 20px 60px rgba(201,154,46,.12); }
.plan h3 { font-size: 1.15rem; }
.plan .amount { font-family: 'Cinzel', serif; font-weight: 800; font-size: 2.6rem; color: #fff1d2; margin: 10px 0 2px; }
.plan .per { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid rgba(201,154,46,.12); }
.plan li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--gold-soft); border-bottom: 2px solid var(--gold-soft); transform: rotate(-45deg); }
.faq details { border-bottom: 1px solid rgba(201,154,46,.2); padding: 14px 0; }
.faq summary { cursor: pointer; font-family: 'Cinzel', serif; font-weight: 700; color: var(--parchment); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--gold-soft); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--parchment-2); }
/* formuláre */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: 'Cinzel', serif; font-weight: 700; font-size: .75rem; letter-spacing: .08em; color: var(--gold-soft); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: rgba(0,0,0,.32); border: 1px solid rgba(201,154,46,.4); border-radius: 10px; padding: 11px 13px; color: #fff4dc; font: 500 1rem 'Lora', Georgia, serif; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-soft); box-shadow: 0 0 0 3px rgba(232,196,108,.18); }
.radio { display: flex; gap: 10px; flex-wrap: wrap; }
.radio label { flex: 1; min-width: 200px; display: flex; gap: 10px; align-items: flex-start; background: rgba(0,0,0,.25); border: 1px solid rgba(201,154,46,.35); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-family: 'Lora', serif; font-weight: 500; font-size: .95rem; letter-spacing: 0; color: var(--parchment-2); text-transform: none; }
.radio label:has(input:checked) { border-color: var(--gold-soft); background: rgba(201,154,46,.12); }
.radio input { margin-top: 4px; accent-color: #c99a2e; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { margin-top: 5px; accent-color: #c99a2e; }
.msg { padding: 12px 14px; border-radius: 10px; margin-top: 4px; font-size: .95rem; }
.msg--ok { background: rgba(110,150,80,.18); border: 1px solid rgba(159,194,126,.6); color: #dcefc9; }
.msg--err { background: rgba(155,48,44,.2); border: 1px solid rgba(220,110,95,.6); color: #f6c9bf; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn--small { padding: 7px 14px; font-size: .8rem; }
.btn--danger { border-color: #b4483f; }
/* portál */
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 10px 0 22px; }
.portal-head h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); color: #fff1d2; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: .05em; }
.badge--ok { background: rgba(110,150,80,.25); color: #cfe8b7; border: 1px solid rgba(159,194,126,.5); }
.badge--bad { background: rgba(155,48,44,.25); color: #f6c9bf; border: 1px solid rgba(220,110,95,.5); }
.badge--wait { background: rgba(201,154,46,.18); color: var(--gold-soft); border: 1px solid rgba(201,154,46,.5); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid rgba(201,154,46,.25); margin-bottom: 22px; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); padding: 10px 14px; font: 700 .85rem 'Cinzel', serif; letter-spacing: .06em; cursor: pointer; }
.tabs button.is-on { color: #fff1d2; border-bottom-color: var(--gold); }
.panelx { display: none; } .panelx.is-on { display: block; }
.auth { max-width: 420px; margin: 8vh auto; }
.auth h1 { font-size: 1.8rem; margin-bottom: 10px; color: #fff1d2; }
.auth .field { margin-bottom: 14px; }
.linkbtn { background: none; border: 0; color: var(--gold-soft); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.tbl-wrap { overflow-x: auto; border: 1px solid rgba(201,154,46,.25); border-radius: 12px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { padding: 9px 12px; text-align: left; border-bottom: 1px solid rgba(201,154,46,.15); white-space: nowrap; }
.tbl th { font-family: 'Cinzel', serif; font-size: .74rem; letter-spacing: .06em; color: var(--gold-soft); background: rgba(0,0,0,.25); position: sticky; top: 0; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.c, .tbl th.c { text-align: center; }
.sc { display: inline-block; min-width: 46px; padding: 3px 8px; border-radius: 8px; font-weight: 600; text-align: center; }
.sc--hi { background: rgba(110,150,80,.3); color: #dcefc9; } .sc--mid { background: rgba(201,154,46,.25); color: #f3dd9f; } .sc--lo { background: rgba(155,48,44,.3); color: #f6c9bf; } .sc--no { color: #6f604d; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 1.05rem; letter-spacing: .2em; color: #fff1d2; background: rgba(0,0,0,.35); padding: 3px 9px; border-radius: 8px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.muted { color: var(--muted); font-size: .9rem; }
.stack > * + * { margin-top: 14px; }
.class-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.file { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--parchment); background: rgba(37,29,22,.62); border: 1px solid rgba(201,154,46,.25); border-radius: 12px; padding: 14px; transition: border-color .2s, transform .15s; }
.file:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.file__ico { width: 40px; height: 48px; flex: none; border-radius: 6px; background: linear-gradient(160deg, #9b302c, #6c1f1c); display: grid; place-items: center; font: 800 .7rem 'Cinzel', serif; color: #fff; }
.file__ico--zip { background: linear-gradient(160deg, #c99a2e, #8f6b1b); }
.file b { display: block; font-size: .92rem; }
.file span { font-size: .8rem; color: var(--muted); }
@media (max-width: 820px) { .hero, .grid3, .grid2, .price, .form { grid-template-columns: 1fr; } .hero { padding-top: 10px; } }
.nav__links[hidden] { display: none; }
/* výber platby: krúžok vľavo, text hneď vedľa */
.radio label { align-items: flex-start; text-align: left; }
.radio input, .check input { width: auto; flex: none; margin: 4px 0 0; padding: 0; }
.radio label > span { flex: 1; }
.hero__pdf { margin-top: 16px; font-size: .9rem; } .hero__pdf a { color: var(--gold-soft); }
