/* PBE România — Înregistrare exploratori (register.php), oct. 2026
   Același sistem vizual ca homepage-ul și hub-ul: bleumarin, auriu, Bricolage + Source Sans.
   Tailwind rămâne încărcat (îl folosește partialul team-selector); stilurile de aici au prioritate. */

:root {
  --ink: #10233f;
  --ink-2: #1b3760;
  --gold: #f2b705;
  --gold-soft: #fff6d6;
  --paper: #f3f6fa;
  --white: #ffffff;
  --text: #26324a;
  --muted: #5b6577;
  --line: #d9e1ec;
  --field: #c9d4e3;
  --green: #1d7a46;
  --red: #b42318;
  --orange: #b65c00;
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.rg { margin: 0; background: var(--paper); color: var(--text); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.rg .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rg h1, .rg h2, .rg h3 { font-family: var(--f-display); color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
.rg h1 { font-weight: 800; }
.rg :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hidden { display: none !important; }

/* ── Bară de sus ─────────────────────────────── */
.rg-top { background: var(--ink); color: var(--white); }
.rg-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.rg-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.rg-brand small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .92rem; opacity: .72; margin-top: 2px; }
.rg-login { color: var(--white); text-decoration: none; font-weight: 600; padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); white-space: nowrap; }
.rg-login span { opacity: .72; font-weight: 400; }
.rg-login:hover { background: rgba(255,255,255,.12); }
.rg-brand .short { display: none; }
@media (max-width: 760px) {
  .rg-brand .full { display: none; }
  .rg-brand .short { display: block; white-space: nowrap; }
}
@media (max-width: 420px) { .rg-brand .short small { display: none; } }
@media (max-width: 600px) {
  .rg-login span { display: none; }
  .rg-top .wrap { min-height: 72px; }
  .rg-login { padding: 8px 14px; }
}

/* ── Logo: pulsul paginii de înregistrare (păstrat identic) ── */
.pbe-logo-main {
  width: 76px; height: auto;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
  transition: all 0.3s ease;
  cursor: pointer;
  will-change: transform;
  animation: logo-pulse 2s ease-in-out infinite;
}
.pbe-logo-main:hover { transform: scale(1.05); filter: drop-shadow(0 12px 24px rgba(0,0,0,0.6)); animation-play-state: paused; }
@keyframes logo-pulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)); }
  50%      { transform: scale(1.05); filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5)); }
}
@media (max-width: 600px) { .pbe-logo-main { width: 60px; } }
@media (prefers-reduced-motion: reduce) { .pbe-logo-main { animation: none !important; } }
@media (hover: none) and (pointer: coarse) {
  .pbe-logo-main:hover { transform: none; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4)); animation-play-state: running; }
}

/* ── Intro ───────────────────────────────────── */
.rg-hero { background: var(--ink); color: rgba(255,255,255,.86); padding: 20px 0 96px; }
.rg-hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.rg-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(242,183,5,.14); color: var(--gold); border: 1px solid rgba(242,183,5,.4); padding: 4px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.rg-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin: 16px 0 16px; }
.rg-hero p { margin: 0 0 12px; max-width: 62ch; }
.rg-hero strong { color: var(--white); }
.rg-books { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rg-books span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: var(--white); padding: 4px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.rg-need { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 24px; margin-top: 8px; }
.rg-need h2 { color: var(--white); font-size: 1.2rem; margin-bottom: 14px; }
.rg-need ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rg-need li { display: flex; gap: 12px; align-items: flex-start; }
.rg-need li i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: .85rem; margin-top: 1px; }
.rg-need .time { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: .95rem; opacity: .85; }
@media (max-width: 860px) {
  .rg-hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .rg-hero { padding-bottom: 80px; }
}

/* ── Așezare: pași + formular ────────────────── */
.rg-main { margin-top: -56px; padding-bottom: 64px; }
.rg-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }

.rg-steps { position: sticky; top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; box-shadow: 0 10px 30px rgba(16,35,63,.08); }
.rg-steps h2 { font-size: 1.05rem; padding: 0 6px; }
.rg-count { color: var(--muted); font-size: .95rem; margin: 2px 6px 10px; }
.rg-bar { height: 6px; background: var(--paper); border-radius: 99px; overflow: hidden; margin: 0 6px 14px; }
.rg-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 99px; transition: width .35s ease; }
.rg-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rg-steps a { display: flex; gap: 10px; align-items: center; padding: 8px 8px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 1rem; line-height: 1.25; }
.rg-steps a:hover { background: var(--paper); }
.rg-steps a .n { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; color: var(--muted); font-family: var(--f-display); font-weight: 700; transition: all .2s ease; }
.rg-steps a.on { background: var(--paper); color: var(--ink); }
.rg-steps a.on .n { border-color: var(--ink); color: var(--ink); }
.rg-steps a.done .n { background: var(--green); border-color: var(--green); color: transparent; position: relative; }
.rg-steps a.done .n::after { content: "✓"; position: absolute; color: var(--white); font-size: .9rem; }

@media (max-width: 900px) {
  .rg-layout { grid-template-columns: 1fr; gap: 16px; }
  .rg-steps { top: 8px; z-index: 40; padding: 12px 16px; border-radius: 14px; box-shadow: 0 8px 24px rgba(16,35,63,.14); }
  .rg-steps h2, .rg-steps ol { display: none; }
  .rg-count { margin: 0 0 8px; font-weight: 600; color: var(--ink); }
  .rg-bar { margin: 0; }
}

/* ── Formular ────────────────────────────────── */
.rg-form { display: grid; gap: 20px; }

.rg-notice { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 18px; }
.rg-notice .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.rg-notice h2 { font-size: 1.2rem; margin-bottom: 8px; }
.rg-notice p { margin: 0 0 8px; }
.rg-notice .why { color: var(--muted); font-size: .98rem; }
.rg-notice .ok { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 560px) { .rg-notice { flex-direction: column; gap: 12px; padding: 20px 18px; } }

.rg-sec { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; scroll-margin-top: 96px; transition: border-color .2s ease; }
.rg-sec-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.rg-sec-head .n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 800; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.rg-sec.done .rg-sec-head .n { background: var(--green); }
.rg-sec-head h2 { font-size: 1.4rem; }
.rg-sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 640px) { .rg-sec { padding: 22px 18px; } .rg-sec-head h2 { font-size: 1.25rem; } }

.rg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.rg-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .rg-grid { grid-template-columns: 1fr; } }

.rg-field label, .rg-label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 1rem; }
.rg-field .opt { color: var(--muted); font-weight: 400; }
.rg-hint { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.rg-err { color: var(--red); font-size: .92rem; margin: 6px 0 0; font-weight: 600; }

.rg-input,
#teamSection input[type="text"]:not(#clubSearchInput),
#teamSection input[type="tel"],
#teamSection select,
#teamSection textarea,
#clubDropdownToggle {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--field); border-radius: 12px; background: var(--white);
  color: var(--text); font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.rg-input, #teamSection textarea { min-height: 88px; resize: vertical; }
.rg-input::placeholder, #teamSection input::placeholder, #teamSection textarea::placeholder { color: #94a0b3; }
.rg-input:focus,
#teamSection input:focus, #teamSection select:focus, #teamSection textarea:focus,
#clubDropdownToggle:focus, .custom-dropdown-toggle:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(242,183,5,.35);
}
.rg-input.is-bad { border-color: var(--red); }
select.rg-input, #teamSection select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6577' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* Data nașterii — trei liste personalizate */
.rg-date { display: grid; grid-template-columns: 1fr 1.5fr 1.15fr; gap: 10px; }
.custom-dropdown { position: relative; }
.custom-dropdown-toggle { display: flex; justify-content: space-between; align-items: center; gap: 6px; text-align: left; cursor: pointer; }
.custom-dropdown-toggle .text-gray-400 { color: #94a0b3; }
.custom-dropdown-toggle .text-gray-900 { color: var(--text); }
.dropdown-arrow { width: 16px; height: 16px; flex: none; color: var(--muted); transition: transform .2s ease; }
.dropdown-arrow.rotate-180 { transform: rotate(180deg); }
.custom-dropdown-menu { position: absolute; left: 0; right: 0; z-index: 50; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(16,35,63,.18); max-height: 240px; overflow-y: auto; scrollbar-width: thin; }
.dropdown-option { padding: 9px 14px; cursor: pointer; font-size: 1rem; }
.dropdown-option:hover { background: var(--paper); }
.dropdown-option.selected { background: var(--ink); color: var(--white); }
.custom-dropdown-menu.show { animation: dropdownFadeIn .15s ease-out; }
.custom-dropdown-menu.show.dropdown-up { animation: dropdownFadeInUp .15s ease-out; }
@keyframes dropdownFadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes dropdownFadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dropdown-up { bottom: 100%; top: auto; margin-bottom: 4px; }
.dropdown-down { top: 100%; bottom: auto; margin-top: 4px; }

/* Mesaje */
.rg-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid; }
.rg-alert p { margin: 0; }
.rg-alert.ok   { background: #e2f4e9; border-color: #b3dcc3; color: #14532d; }
.rg-alert.err  { background: #fdecea; border-color: #f5c2bd; color: #7a1c12; }
.rg-alert.warn { background: #fff7e6; border-color: #f3cf9e; color: #7a4100; }
.rg-alert b { display: block; }
#locationWarning, #gradeNote { margin-top: 16px; }

/* Bife (experiență + acorduri) */
.rg-checks { display: grid; gap: 10px; }
.rg-check { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.rg-check:hover { border-color: #b8c6d8; }
.rg-check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.rg-check:has(input:checked) { border-color: var(--ink); background: #f6f9fd; }
.rg-check.is-bad { border-color: var(--red); background: #fff5f4; }
.rg-check b { color: var(--ink); }
.rg-tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 0 8px; border-radius: 99px; margin-left: 4px; vertical-align: 2px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.rg-tag.req { background: #fff1de; color: var(--orange); border-color: #f3cf9e; }

/* Trimitere */
.rg-submit { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.rg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 440px; background: var(--gold); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; padding: 17px 28px; border-radius: 14px; border: 0; cursor: pointer; box-shadow: 0 8px 20px rgba(242,183,5,.35); transition: transform .15s ease, box-shadow .15s ease; }
.rg-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(242,183,5,.45); }
.rg-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.rg-submit p { color: var(--muted); margin: 14px 0 0; }
.rg-submit .login { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text); }
.rg-submit .login a { color: var(--ink); font-weight: 700; }
#agreeError { margin-top: 14px; }

/* ── Subsol ──────────────────────────────────── */
.rg-foot { background: var(--ink); color: rgba(255,255,255,.75); text-align: center; padding: 30px 0; font-size: .95rem; }
.rg-foot p { margin: 4px 0; }
.rg-foot strong { color: var(--white); font-family: var(--f-display); }
.rg-foot a { color: var(--gold); }

/* ── Echipa (partial team-selector) — adus la stilul paginii ── */
#teamSection .rg-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
#teamSection #btnModeExisting, #teamSection #btnModeManual { min-height: 54px; border-radius: 12px; font-size: 1rem; line-height: 1.25; }
#teamSection .border-purple-500 { border-color: var(--ink) !important; }
#teamSection .bg-purple-50 { background: #eef3fa !important; }
#teamSection .text-purple-700 { color: var(--ink) !important; }
#teamSection label { font-weight: 600; color: var(--ink); font-size: 1rem; }
#teamSection .text-xs { font-size: .9rem; }
#clubDropdownToggle { display: flex; }
#clubDropdownPanel > div { border-radius: 12px !important; border-color: var(--line) !important; }
#clubSearchInput { font-size: 16px !important; }
#clubSearchInput:focus { border-color: var(--ink) !important; }
#teamConfirmCard { border-radius: 12px; }
@media (max-width: 560px) { #teamSection .rg-mode { grid-template-columns: 1fr; } }

/* ── Pagini de rezultat: confirmare, eroare, înscrieri închise ── */
.rg-hero.small { padding: 20px 0 92px; }
.rg-hero.small .wrap { display: block; max-width: 860px; }
.rg-hero.small h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.rg-hero .lead { font-size: 1.15rem; max-width: 56ch; }
.rg-ic { width: 68px; height: 68px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; background: rgba(242,183,5,.16); border: 1px solid rgba(242,183,5,.35); margin-bottom: 6px; }
.rg-ic.err { background: rgba(255,120,100,.14); border-color: rgba(255,120,100,.4); }
body.rg { min-height: 100vh; display: flex; flex-direction: column; }
body.rg > main { flex: 1 0 auto; }
.rg-result { margin-top: -60px; padding-bottom: 64px; }
.rg-result .wrap { max-width: 860px; display: grid; gap: 18px; }
.rg-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.rg-card.lift { box-shadow: 0 10px 30px rgba(16,35,63,.08); }
.rg-card h2 { font-size: 1.3rem; margin-bottom: 16px; }
.rg-card p { margin: 0 0 10px; }
.rg-card p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .rg-card { padding: 22px 18px; } }

.rg-status { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; border: 1px solid; }
.rg-status + .rg-status { margin-top: 10px; }
.rg-status .i { font-size: 1.5rem; line-height: 1.2; }
.rg-status b { display: block; font-family: var(--f-display); font-size: 1.08rem; }
.rg-status p { margin: 2px 0 0; }
.rg-status.ok   { background: #e2f4e9; border-color: #b3dcc3; color: #14532d; }
.rg-status.wait { background: #fff7e6; border-color: #f3cf9e; color: #7a4100; }
.rg-status.info { background: #eef3fa; border-color: #c9d4e3; color: var(--ink); }
.rg-status.err  { background: #fdecea; border-color: #f5c2bd; color: #7a1c12; }

.rg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: rg; }
.rg-list li { display: flex; gap: 14px; align-items: flex-start; }
.rg-list li::before { counter-increment: rg; content: counter(rg); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .95rem; margin-top: 1px; }
.rg-list.dots li::before { content: ""; width: 10px; height: 10px; background: var(--gold); margin-top: 10px; }
.rg-list b { display: block; color: var(--ink); }
.rg-list span { color: var(--muted); }

.rg-kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.rg-kv dt { color: var(--muted); }
.rg-kv dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 480px) { .rg-kv { grid-template-columns: 1fr; gap: 0; } .rg-kv dd { margin-bottom: 8px; } }

.rg-contacts { display: flex; flex-wrap: wrap; gap: 10px; }
.rg-contacts a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--field); color: var(--ink); text-decoration: none; font-weight: 600; background: var(--white); }
.rg-contacts a:hover { border-color: var(--ink); }
.rg-contacts small { color: var(--muted); font-weight: 400; }

.rg-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.rg-actions .rg-btn { width: auto; max-width: none; text-decoration: none; }
.rg-btn.ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--field); box-shadow: none; font-size: 1.05rem; }
.rg-btn.ghost:hover { border-color: var(--ink); }
@media (max-width: 520px) { .rg-actions .rg-btn { width: 100%; } }
.rg-note { text-align: center; color: var(--muted); font-size: .95rem; margin: 0; }
.rg-note button { background: none; border: 0; color: var(--ink); font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }

/* ── Ajustări mobil portret (18 oct) ── */
.rg-eyebrow { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
.rg-eyebrow > span { white-space: nowrap; }
.rg-contacts a { flex-wrap: nowrap; }
.rg-contacts .cv { white-space: nowrap; }
.rg-contacts small { white-space: nowrap; }
@media (max-width: 600px) {
  .rg-eyebrow { font-size: .85rem; padding: 4px 12px; column-gap: 6px; }
  .rg-ic { display: none; }
  .rg-contacts { flex-direction: column; }
  .rg-contacts a { width: 100%; padding: 12px 18px; border-radius: 14px; }
  .rg-contacts small { margin-left: auto; }
}

/* Iconița paginii pe același rând cu eticheta (18 oct) */
.rg-hero-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
.rg-hero-top .rg-ic { width: 54px; height: 54px; border-radius: 16px; font-size: 1.65rem; margin: 0; }
@media (max-width: 600px) {
  .rg-hero-top .rg-ic.err { display: flex; width: 42px; height: 42px; border-radius: 12px; font-size: 1.25rem; }
}

/* ── Autentificare (login.php) ── */
.rg-auth-hero { padding: 28px 0 120px; text-align: center; }
.rg-auth-hero .wrap { display: block; max-width: 680px; }
.rg-auth-hero h1 { margin: 14px 0 10px; font-size: clamp(2.1rem, 5vw, 2.8rem); }
.rg-auth-hero p { margin: 0 auto; }
.rg-auth { margin-top: -96px; padding-bottom: 64px; }
.rg-auth .wrap { max-width: 520px; }
.rg-auth-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 18px 50px rgba(16,35,63,.14); }
@media (max-width: 520px) { .rg-auth-card { padding: 24px 18px; } }
.rg-auth-card form { display: grid; gap: 18px; }
.rg-auth-card .rg-alert { margin-bottom: 18px; }
.rg-pw { position: relative; }
.rg-pw .rg-input { padding-right: 54px; }
.rg-pw-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 38px; border: 0; background: transparent; border-radius: 10px; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rg-pw-btn:hover { background: var(--paper); color: var(--ink); }
.rg-pw-btn svg { width: 22px; height: 22px; }
.rg-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rg-remember { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; color: var(--text); }
.rg-remember input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.rg-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rg-link:hover { text-decoration-color: var(--ink); }
.rg-auth-card .rg-btn { max-width: none; }
.rg-auth-alt { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.rg-auth-alt p { margin: 0 0 12px; color: var(--muted); }
.rg-auth-alt .rg-btn { width: 100%; text-decoration: none; }
.rg-auth-back { text-align: center; margin: 20px 0 0; }
.rg-auth-back a { color: var(--muted); }
.rg-shake { animation: rgShake .45s ease-in-out; }
@keyframes rgShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .rg-shake { animation: none; } }

/* ── Parolă uitată / resetare ── */
.rg-steps-mini { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.rg-steps-mini h2 { font-size: 1.05rem; margin-bottom: 12px; }
.rg-steps-mini .rg-list { gap: 10px; }
.rg-steps-mini .rg-list li::before { width: 26px; height: 26px; font-size: .82rem; }
.rg-steps-mini .rg-list li { color: var(--text); }
.rg-reqs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; font-size: .95rem; }
.rg-reqs li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.rg-reqs li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--field); transition: all .15s ease; }
.rg-reqs li.ok { color: var(--green); font-weight: 600; }
.rg-reqs li.ok::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.rg-match { margin: 8px 0 0; font-size: .95rem; font-weight: 600; }
.rg-match.ok { color: var(--green); }
.rg-match.bad { color: var(--red); }
.rg-note-box { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fff7e6; border: 1px solid #f3cf9e; color: #7a4100; font-size: .95rem; }
.rg-note-box b { display: block; }
.rg-btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
