/* Workshop personal — paleta deschisa, de dashboard.
   Pagina ruleaza pe shell-ul cu theme=light (body.admin), deci fundalul e #f1f5f9.
   Totul e scopat sub .ws / .ws-page ca sa nu atinga restul zonei de admin. */

.ws-page .ws-narrow { max-width: 720px; }

/* Hero-ul site-ului public are un gradient inchis dintr-un ::before — pe fundal
   deschis trebuie scos, altfel ramane o banda gri in capul paginii. */
.ws-page .page-hero { background: none; padding: 40px 0 4px; overflow: visible; }
.ws-page .page-hero::before { display: none; }
.ws-page .page-hero__label { color: #b45309; }
.ws-page .page-hero__title { color: #0f172a; font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin-bottom: .75rem; }
.ws-page .page-hero__lead { color: #64748b; }

/* ---- bara de progres ---- */
.ws-progress {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
}
.ws-progress__inner { display: flex; align-items: center; gap: 14px; }
.ws-progress__label { color: #64748b; font-size: .85rem; white-space: nowrap; }
.ws-progress__label b { color: #b45309; }
.ws-progress__track { flex: 1; height: 5px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.ws-progress__bar { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #f59e0b, #fbbf24); transition: width .35s ease; }
.ws-saved { font-size: .78rem; min-width: 62px; text-align: right; opacity: 0; transition: opacity .2s; }
.ws-saved.is-ok { color: #059669; opacity: 1; }
.ws-saved.is-err { color: #dc2626; opacity: 1; }
.ws-progress__erase {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 4px 6px;
  color: #94a3b8; font-size: .78rem; transition: color .18s;
}
.ws-progress__erase:hover { color: #dc2626; }

/* ---- ecrane ---- */
.ws-screen { display: none; padding-bottom: 72px; }
.ws-screen.is-active { display: block; animation: wsIn .28s ease both; }
@keyframes wsIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ws-screen.is-active { animation: none; }
  .ws-progress__bar { transition: none; }
}

.ws-h2 { color: #0f172a; font-size: 1.4rem; font-weight: 700; margin: 40px 0 12px; }
.ws-p { color: #475569; line-height: 1.75; margin-bottom: 14px; }
.ws-p--lead { font-size: 1.02rem; }
.ws-list { color: #475569; line-height: 1.85; padding-left: 20px; margin-bottom: 20px; }

/* ---- blocuri de continut ---- */
.ws-idea, .ws-callout, .ws-prayer, .ws-declaration {
  border-radius: 14px; padding: 20px 24px; margin: 24px 0;
}
.ws-idea { background: #fffbeb; border: 1px solid #fcd34d; }
.ws-idea p { color: #78350f; font-size: 1.06rem; line-height: 1.65; margin: 0; font-weight: 600; }
.ws-idea__tag, .ws-callout__tag, .ws-prayer__tag {
  display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: #b45309; font-weight: 700; margin-bottom: 8px;
}
.ws-callout { background: #fff; border: 1px solid #e2e8f0; border-left: 3px solid #fbbf24; }
.ws-callout p { color: #475569; line-height: 1.7; margin: 0; }
.ws-prayer { background: #eef2ff; border: 1px solid #c7d2fe; }
.ws-prayer__tag { color: #4f46e5; }
.ws-prayer p { color: #312e81; line-height: 1.75; margin: 0; font-style: italic; }
.ws-declaration { background: #fff; border: 1px solid #e2e8f0; }
.ws-declaration p { color: #1e293b; line-height: 1.8; margin: 0; font-size: 1.02rem; }

.ws-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.ws-meta div { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e2e8f0; border-radius: 99px; padding: 8px 16px; color: #475569; font-size: .88rem; }
.ws-meta i { color: #f59e0b; }

.ws-privacy, .ws-care {
  display: flex; gap: 14px; align-items: flex-start;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 12px; padding: 18px 20px; margin: 28px 0;
}
.ws-privacy i, .ws-care i { color: #059669; font-size: 1.1rem; margin-top: 3px; }
/* Doar titlul casetei e pe rand propriu; <strong> din paragraf ramane inline. */
.ws-privacy > div > strong { color: #064e3b; display: block; margin-bottom: 5px; }
.ws-privacy p strong { color: #064e3b; font-weight: 700; }
.ws-privacy p, .ws-care p { color: #047857; font-size: .9rem; line-height: 1.65; margin: 0; }
.ws-care { background: #f8fafc; border-color: #e2e8f0; }
.ws-care i { color: #64748b; }
.ws-care p { color: #64748b; }
.ws-care a { color: #b45309; }

/* ---- antet de pas ---- */
.ws-stepHead { padding-top: 40px; margin-bottom: 18px; }
.ws-stepHead__n { display: inline-block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #b45309; font-weight: 700; }
.ws-stepHead__title { color: #0f172a; font-size: clamp(1.45rem, 4vw, 1.9rem); font-weight: 700; margin: 6px 0 8px; line-height: 1.25; }
.ws-stepHead__time { color: #94a3b8; font-size: .84rem; }

/* ---- campuri ---- */
.ws-field { margin: 26px 0; border: 0; padding: 0; }
.ws-label { display: block; color: #0f172a; font-weight: 600; line-height: 1.55; margin-bottom: 8px; font-size: .98rem; }
.ws-hint { color: #94a3b8; font-size: .85rem; line-height: 1.55; margin: -2px 0 10px; }
.ws-textarea, .ws-input {
  width: 100%; background: #fff;
  border: 1px solid #cbd5e1; border-radius: 10px;
  padding: 13px 15px; color: #0f172a; font-family: inherit; font-size: 1rem; line-height: 1.65;
  resize: vertical; transition: border-color .18s, box-shadow .18s;
}
.ws-textarea:focus, .ws-input:focus {
  outline: none; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .16);
}
.ws-textarea::placeholder, .ws-input::placeholder { color: #94a3b8; }

/* ---- bife ---- */
.ws-choices { display: flex; flex-direction: column; gap: 8px; }
.ws-choice, .ws-day {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 10px; padding: 13px 16px; transition: border-color .18s, background .18s;
}
.ws-choice:hover, .ws-day:hover { border-color: #fbbf24; background: #fffdf7; }
.ws-choice.is-on, .ws-day.is-on { border-color: #f59e0b; background: #fffbeb; }
.ws-choice input, .ws-day input { position: absolute; opacity: 0; width: 0; height: 0; }
.ws-choice__box, .ws-day__box {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px;
  border: 1.5px solid #cbd5e1; background: #fff;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
  transition: background .18s, border-color .18s;
}
.ws-choice__box i, .ws-day__box i { font-size: .7rem; color: #fff; opacity: 0; transition: opacity .15s; }
.ws-choice.is-on .ws-choice__box, .ws-day.is-on .ws-day__box { background: #f59e0b; border-color: #f59e0b; }
.ws-choice.is-on .ws-choice__box i, .ws-day.is-on .ws-day__box i { opacity: 1; }
.ws-choice__text { color: #475569; line-height: 1.6; font-size: .95rem; }
.ws-choice.is-on .ws-choice__text { color: #0f172a; }
.ws-choice input:focus-visible + .ws-choice__box,
.ws-day input:focus-visible ~ .ws-day__box { outline: 2px solid #f59e0b; outline-offset: 2px; }

/* ---- provocarea de 7 zile ---- */
.ws-days { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.ws-day { align-items: center; }
.ws-day__n { flex: 0 0 auto; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #b45309; font-weight: 700; width: 62px; }
.ws-day__text { flex: 1; color: #475569; font-size: .92rem; line-height: 1.55; }
.ws-day.is-on .ws-day__text { color: #0f172a; }

/* ---- butoane ---- */
.ws-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.ws-actions--intro, .ws-actions--final { margin-top: 28px; }
.ws-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 10px; padding: 12px 22px; font-size: .96rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.ws-btn:active { transform: translateY(1px); }
.ws-btn--primary { background: #f59e0b; color: #fff; box-shadow: 0 2px 8px rgba(245, 158, 11, .28); }
.ws-btn--primary:hover { background: #d97706; box-shadow: 0 4px 14px rgba(245, 158, 11, .34); color: #fff; }
.ws-btn--ghost { background: #fff; border-color: #cbd5e1; color: #334155; }
.ws-btn--ghost:hover { background: #f8fafc; border-color: #94a3b8; color: #0f172a; }
.ws-btn--block { display: flex; width: 100%; margin-top: 12px; }
.ws-erase { display: block; margin: 40px auto 0; background: none; border: 0; color: #dc2626; font-size: .85rem; text-decoration: underline; cursor: pointer; }
.ws-erase:hover { color: #b91c1c; }
.ws-eraseNote { color: #64748b; font-size: .86rem; margin-top: 16px; }
.ws-eraseLink { background: none; border: 0; padding: 0; cursor: pointer; color: #dc2626; font-size: .86rem; text-decoration: underline; }
.ws-eraseLink:hover { color: #b91c1c; }

/* ---- final ---- */
.ws-done { text-align: center; padding: 48px 0 8px; }
.ws-done__ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #f59e0b; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.ws-done h2 { color: #0f172a; font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.ws-done p { color: #64748b; line-height: 1.7; max-width: 520px; margin: 0 auto; }

.ws-summary { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; margin: 18px 0; }
.ws-summary__row { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 16px 20px; border-bottom: 1px solid #f1f5f9; }
.ws-summary__row:last-child { border-bottom: 0; }
.ws-summary__row span { flex: 0 0 190px; color: #94a3b8; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.ws-summary__row b { flex: 1; min-width: 200px; color: #0f172a; font-weight: 600; line-height: 1.6; }
.ws-summary__row b.is-empty { color: #cbd5e1; font-weight: 400; font-style: italic; }

.ws-account { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; margin: 32px 0; }
.ws-account h3 { color: #0f172a; font-size: 1.1rem; margin-bottom: 8px; }
.ws-account h3 i { color: #f59e0b; margin-right: 8px; }
.ws-account > p { color: #64748b; font-size: .92rem; line-height: 1.65; margin-bottom: 14px; }
.ws-account__form { display: flex; gap: 10px; flex-wrap: wrap; }
.ws-account__form .ws-input { flex: 1; min-width: 220px; }
.ws-account__msg { font-size: .86rem; margin: 10px 0 0; min-height: 1em; }
.ws-account__msg.is-ok { color: #059669; }
.ws-account__msg.is-err { color: #dc2626; }

/* ---- lista de workshopuri ---- */
.ws-card { display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 26px 28px; margin-top: 26px; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ws-card:hover { border-color: #fbbf24; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15, 23, 42, .07); }
.ws-card__body { flex: 1; min-width: 260px; }
.ws-card__tag { display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #b45309; font-weight: 700; }
.ws-card h2 { color: #0f172a; font-size: 1.38rem; font-weight: 700; margin: 8px 0 6px; line-height: 1.3; }
.ws-card__sub { color: #64748b; font-size: .95rem; margin-bottom: 10px; }
.ws-card__blurb { color: #475569; line-height: 1.7; font-size: .93rem; margin-bottom: 14px; }
.ws-card__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #94a3b8; font-size: .84rem; }
.ws-card__meta i { color: #f59e0b; margin-right: 5px; }
.ws-card__go { display: inline-flex; align-items: center; gap: 9px; background: #f59e0b;
  color: #fff; font-weight: 600; border-radius: 10px; padding: 12px 22px; white-space: nowrap; }

/* ---- print ---- */
@media print {
  .ws-progress, .ws-actions, .ws-erase, .ws-eraseNote, .ws-account, .ws-care,
  header, footer, nav, .page-hero, .app-sidenav, .app-topbar { display: none !important; }
  .ws-screen { display: block !important; }
  body { background: #fff !important; }
  .ws-idea, .ws-callout, .ws-prayer, .ws-declaration, .ws-summary, .ws-choice, .ws-day, .ws-textarea {
    background: #fff !important; border: 1px solid #ccc !important;
  }
}

@media (max-width: 560px) {
  .ws-summary__row span { flex: 1 0 100%; }
  .ws-actions .ws-btn { flex: 1 1 auto; }
  .ws-day__n { width: 100%; }
  .ws-progress__eraseTxt { display: none; }
}
