/* PBE România — Înregistrare personal (register-staff.php), oct. 2026.
   Se încarcă după register.css și refolosește componentele de acolo (rg-*). */

.st-main { margin-top: -56px; padding-bottom: 64px; }
.st-main .wrap { max-width: 900px; }
.st-form { display: grid; gap: 20px; }

/* Roluri — explicație scurtă sub select */
.st-role-hint { margin: 8px 0 0; color: var(--muted); font-size: .95rem; min-height: 1.4em; }

/* Selector club (păstrează id-urile vechi) */
.st-club { position: relative; }
#club-dropdown-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; cursor: pointer; }
#club-dropdown-btn .ph { color: #94a0b3; }
#club-chevron { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .2s ease; }
#club-dropdown-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(16,35,63,.18); overflow: hidden; }
.st-club-search { padding: 10px; border-bottom: 1px solid var(--line); }
.st-club-search input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--field); border-radius: 10px; font: inherit; font-size: 16px; }
.st-club-search input:focus { outline: none; border-color: var(--ink); }
#club-list { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.club-conference-group > .grp { position: sticky; top: 0; z-index: 1; padding: 6px 16px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: #eef3fa; border-bottom: 1px solid var(--line); }
.club-option { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer; border-bottom: 1px solid #f3f6fa; }
.club-option:hover { background: var(--paper); }
.club-option.is-selected { background: #fff6d6; font-weight: 700; }
.club-option small { color: var(--muted); font-size: .82rem; white-space: nowrap; }

/* Erori pe câmp */
.rg-input.has-err { border-color: var(--red); background: #fff8f7; }
.st-err-list { margin: 8px 0 0; padding-left: 18px; }
.st-err-list li { margin: 2px 0; }

/* ── Secțiunea Clubul Apolo ── */
.ap { border: 2px solid var(--gold); border-radius: var(--radius); overflow: hidden; background: var(--white); scroll-margin-top: 20px; }
.ap-head { background: var(--ink); color: rgba(255,255,255,.85); padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start; }
.ap-head .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(242,183,5,.16); border: 1px solid rgba(242,183,5,.4); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.ap-head h2 { color: var(--white); font-size: 1.4rem; margin-bottom: 4px; }
.ap-head p { margin: 0; }
.ap-body { padding: 24px 28px; display: grid; gap: 10px; background: #fbfaf6; }
.ap-intro { margin: 0 0 8px; line-height: 1.7; }
@media (max-width: 640px) { .ap-head, .ap-body { padding: 20px 18px; } }

.apolo-pillar { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.apolo-pillar > button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; color: var(--ink); font-weight: 700; }
.apolo-pillar > button:hover { background: var(--paper); }
.apolo-pillar .pi { display: flex; align-items: center; gap: 12px; }
.apolo-pillar .pi .e { font-size: 1.4rem; }
.pillar-chevron { color: var(--muted); transition: transform .2s ease; flex: none; }
.pillar-body { padding: 4px 18px 18px; border-top: 1px solid var(--line); line-height: 1.7; font-size: 1rem; }
.pillar-body p { margin: 10px 0 0; }
.pillar-body .mt-3 { margin-top: 12px; }
.pillar-body .font-semibold { font-weight: 700; }
.pillar-body .text-purple-800, .pillar-body .text-purple-700 { color: var(--ink); }
.pillar-body .italic { font-style: italic; border-left: 3px solid var(--gold); padding-left: 12px; }

.ap-quiz { margin-top: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ap-quiz-head { padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.ap-quiz-head h3 { font-size: 1.15rem; margin-bottom: 4px; }
.ap-quiz-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.ap-quiz-body { padding: 20px; display: grid; gap: 24px; }
.quiz-q > p:first-child { font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.quiz-opts { display: grid; gap: 8px; }
.quiz-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.quiz-opt:hover { border-color: #b8c6d8; }
.quiz-opt input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.quiz-opt.is-right { border-color: var(--green); background: #e2f4e9; }
.quiz-opt.is-wrong { border-color: var(--red); background: #fdecea; }
.quiz-feedback { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.quiz-feedback.ok { background: #e2f4e9; color: #14532d; }
.quiz-feedback.again { background: #fff7e6; color: #7a4100; }
.ap-progress { height: 8px; background: var(--paper); border-radius: 99px; overflow: hidden; }
#quiz-progress-bar { height: 100%; width: 0; background: var(--gold); border-radius: 99px; transition: width .4s ease, background .3s ease; }
#quiz-progress-bar.done { background: var(--green); }
#quiz-progress-text { text-align: center; color: var(--muted); font-size: .95rem; margin: 6px 0 0; }
#quiz-done-msg { padding: 16px; border-radius: 12px; background: #e2f4e9; border: 1px solid #b3dcc3; color: #14532d; text-align: center; }
#quiz-done-msg b { display: block; font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 4px; }

/* Pagina de succes personal */
.st-role-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: var(--white); font-weight: 600; }
