/* /nova-sutaz – samoobslužné vytvorenie súťaže (vľavo predstavenie, vpravo panel s krokmi) */
.ns-body { --md-sys-color-primary: #3d8ef7; --md-sys-color-on-primary: #fff; margin: 0; min-height: 100vh; background: #f1f4f5; font-family: "Quicksand", system-ui, sans-serif; color: #37474f; }
.ns { display: grid; grid-template-columns: 1fr 430px; min-height: 100vh; }
.ns-hero { display: flex; flex-direction: column; align-items: center; padding: 40px 32px; text-align: center; }
.ns-hero__img { width: min(500px, 100%); height: auto; border-radius: 12px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .3); }
.ns-hero p { max-width: 900px; margin: 22px 0 0; font-size: 1.12rem; line-height: 1.65; color: #6b7a86; }
.ns-hero strong { color: #455a64; }

.ns-panel { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px 20px; background: #fff; box-shadow: -1px 0 0 #e7ecef; }
.ns-logo { display: flex; justify-content: center; }
.ns-logo img { width: 100px; height: auto; }
.ns-title { margin: 0; text-align: center; font-size: 1.45rem; font-weight: 500; line-height: 1.3; color: #37474f; }

.ns-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 6px 0 4px; padding: 0; list-style: none; }
.ns-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; color: #8a97a6; }
.ns-steps li::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 3px; background: #e3e8ec; z-index: 0; }
.ns-steps li:first-child::before { display: none; }
.ns-steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid #cfd8dc; border-radius: 50%; background: #cfd8dc; color: #fff; font-size: 1.1rem; font-weight: 600; }
.ns-steps .is-done span { background: #3d8ef7; border-color: #3d8ef7; }
.ns-steps .is-done::before, .ns-steps .is-current::before { background: #3d8ef7; }
.ns-steps .is-current span { background: #fff; border-color: #3d8ef7; color: #3d8ef7; width: 46px; height: 46px; margin-top: -3px; }
.ns-steps .is-current { color: #3d8ef7; }

.ns-msg a { color: inherit; font-weight: 600; }
.ns-lead { margin: 0; text-align: center; font-size: 1.05rem; font-weight: 500; color: #455a64; }
.ns-muted { margin: 0; text-align: center; color: #7a8a97; line-height: 1.6; }
.ns-small { font-size: .82rem; }
.ns-center { text-align: center; }
.ns-done { display: grid; gap: 10px; justify-items: center; text-align: center; line-height: 1.6; }
.ns-done svg { color: #37474f; }
.ns-done p { margin: 0; }
.ns-ok { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #2bb24c; color: #fff; font-size: 1.4rem; }
.ns-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.ns-scanner { max-width: 360px; min-height: 260px; margin: 0 auto; }
.ns-fin { display: grid; gap: 6px; }
.ns-fin > div { display: flex; gap: 8px; }
.ns-fin .md-field__input { flex: 1; }
.ns-next { padding: 12px 14px; border-radius: 12px; background: #f6f8fa; font-size: .86rem; }
.ns-next .ns-lead { text-align: left; font-size: .9rem; }
.ns-next ol { margin: 6px 0 0; padding-left: 20px; line-height: 1.55; color: #5f6f7b; }
.ns-foot { margin-top: auto; padding-top: 24px; text-align: center; font-size: .78rem; color: #9aa5b1; }
.ns-foot a, .ns-panel a { color: #3d8ef7; text-decoration: none; }

@media (max-width: 899px) {
  .ns { grid-template-columns: 1fr; }
  .ns-panel { order: -1; box-shadow: none; padding: 24px 16px 16px; }
  .ns-hero { padding: 24px 16px 32px; }
  .ns-hero p { font-size: .98rem; }
}

.ns-choice { display: grid; gap: 12px; justify-items: stretch; margin: 16px 0; }
.ns-choice .md-btn { justify-content: center; text-align: center; }
.ns-panel .ns-choice a.md-btn { color: var(--md-sys-color-on-primary); }
.ns-panel .ns-choice a.md-btn--tonal { color: var(--md-sys-color-on-primary-container); }
