/* ==========================================================================
   rekrutacja-boosterow: strona /zostan-naszym-boosterem (formularz, ekran sukcesu, pasek podgladu) i panel
   /admin/booster-applications (.rb-adm). Uklad i karty z boosting-v2.css (bv2-*), tu tylko rzeczy nowe z prefiksem rb-.
   Mobile first: jedna kolumna; od 768 px pola obok siebie. Cele dotykowe min. 44 px, font pol 16 px (bez zoomu na iOS).
   ========================================================================== */
.rb-podglad { position: relative; z-index: 50; background: #b45309; color: #fff; font: 600 14px/1.4 Barlow, Arial, sans-serif; text-align: center; padding: 8px 12px; }

.rb { --rb-zloty: #f3b300; --rb-zloty-link: #b98700; --rb-blad: #b42318; }
.rb a { color: var(--rb-zloty-link); }
.rb-karta { padding: 22px 18px; }
.rb-lead { margin: -6px 0 16px; }
.rb-alert { background: #fef3f2; border: 1px solid #fecdca; color: var(--rb-blad); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-size: 14px; }

.rb-form { margin: 0; }
.rb-grupa { border: 0; border-top: 1px solid #eef0f3; margin: 0; padding: 18px 0 6px; min-width: 0; }
.rb-grupa:first-of-type { border-top: 0; padding-top: 4px; }
.rb-grupa-tytul { display: flex; align-items: center; gap: 10px; float: left; width: 100%; border: 0; margin: 0 0 16px; padding: 0;
  font-family: var(--bv2-cond); font-size: 22px; font-weight: 800; line-height: 1.1; color: var(--bv2-ciemny); }
/* legend jako float: linia border-top fieldsetu idzie nad numerem i tytulem, nie przez ich srodek (uwaga Bartosza 31.10) */
.rb-grupa-tytul + * { clear: both; }
.rb-nr { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bv2-ciemny); color: var(--rb-zloty); font-size: 17px; flex: none; }

.rb-siatka { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.rb-pole { margin: 0 0 14px; min-width: 0; }
.rb-etykieta { display: block; margin: 0 0 6px; font-weight: 700; font-size: 15px; color: var(--bv2-tekst); }
.rb-gw { color: var(--rb-blad); }
.rb-opc { font-weight: 400; color: var(--bv2-szary); font-size: 13px; }
.rb-hint { display: block; margin-top: 5px; font-size: 13px; line-height: 1.4; color: var(--bv2-szary); }
.rb-input { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1.6px solid var(--bv2-ramka2); border-radius: 12px; background: #fff;
  font: 16px/1.4 Barlow, 'Helvetica Neue', Arial, sans-serif; color: var(--bv2-tekst); box-shadow: none; }
.rb-input:focus { outline: 3px solid rgba(243, 179, 0, 0.45); outline-offset: 1px; border-color: var(--rb-zloty); }
.rb-textarea { min-height: 110px; resize: vertical; }
select.rb-input { appearance: auto; }
.rb-plik { display: block; width: 100%; min-height: 48px; padding: 10px; border: 1.6px dashed var(--bv2-ramka2); border-radius: 12px; background: #f6f7f9; font-size: 15px; }

.rb-opcje { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 4px; }
.rb-opcje--3, .rb-opcje--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb-opcje--skala { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rb-opcje--waskie { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
.rb-opcja { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 10px 12px; border: 1.6px solid var(--bv2-ramka2);
  border-radius: 12px; background: #fff; font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--bv2-tekst); cursor: pointer; }
.rb-opcja input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--rb-zloty); cursor: pointer; }
.rb-opcja--liczba { justify-content: center; padding: 10px 6px; gap: 6px; }
.rb-opcja--liczba input { width: 18px; height: 18px; }
.rb-opcja:has(input:checked) { background: var(--bv2-ciemny); border-color: var(--bv2-ciemny); color: #ffd24a; }
.rb-opcja:has(input:focus-visible) { outline: 3px solid var(--rb-zloty); outline-offset: 2px; }

.rb-zgody { border-top: 1px solid #eef0f3; padding-top: 16px; }
.rb-zgoda { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin: 0; font-weight: 400; font-size: 15px; line-height: 1.45; cursor: pointer; }
.rb-zgoda input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rb-zloty); }

.rb-pole.is-blad .rb-input, .rb-pole.is-blad .rb-plik, .rb-pole.is-blad .rb-opcja, .rb-grupa.is-blad .rb-opcja { border-color: #f04438; }
.rb-blad { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--rb-blad); }
.rb-wyslij { min-height: 52px; background: var(--rb-zloty); }
.rb-wyslij[aria-disabled="true"] { opacity: .7; }

.rb-sukces { text-align: center; padding: 30px 20px; }
.rb-sukces .bv2-h2 { text-align: center; }
.rb-sukces-ikona { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #e7f6ee; color: #1d7a46; font-size: 34px; font-weight: 800; line-height: 64px; }
.rb-sukces-tekst { font-size: 16px; margin: 0 0 12px; }
.rb-sukces-kroki { display: inline-block; text-align: left; margin: 0 0 16px; padding-left: 20px; color: #374151; font-size: 14px; line-height: 1.6; }
.rb-sukces-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

@media (min-width: 768px) {
  .rb-karta { padding: 26px 30px; }
  .rb-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-opcje--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-opcje--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb-opcje--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rb-opcje--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rb-opcje--skala { max-width: 480px; }
  .rb-pole--pol { max-width: 50%; }
  .rb-wyslij { max-width: 360px; }
}
@media (max-width: 380px) {
  .rb-opcje--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- Panel /admin/booster-applications */
.rb-adm-info { margin-bottom: 12px; }
.rb-adm-metryki { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.rb-adm-metryka { display: block; background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 12px 14px; color: #1a2230 !important; }
.rb-adm-metryka:hover { border-color: #f3b300; text-decoration: none; }
.rb-adm-metryka.is-aktywna { border-color: #f3b300; box-shadow: 0 0 0 2px rgba(243, 179, 0, .35); }
.rb-adm-metryka b { display: block; font-size: 26px; line-height: 1.1; }
.rb-adm-metryka span { display: block; font-size: 13px; color: #5b6472; }
.rb-adm-metryka small { display: block; font-size: 12px; color: #8a6500; }
.rb-adm-filtry { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rb-adm-filtry .form-control { flex: 1 1 160px; width: auto; }
.rb-adm-chipy { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rb-adm-chip { display: inline-block; padding: 5px 10px; border-radius: 14px; border: 1px solid #d0d5dc; background: #fff; color: #1a2230 !important; font-size: 13px; }
.rb-adm-chip.is-aktywny { background: #0d1017; border-color: #0d1017; color: #ffd24a !important; }
.rb-adm-chip i { font-style: normal; opacity: .7; margin-left: 3px; }
.rb-adm-karty { display: flex; flex-direction: column; gap: 8px; }
.rb-adm-karta { display: block; background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 10px 12px; color: #1a2230 !important; }
.rb-adm-karta:hover { border-color: #b98700; text-decoration: none; }
.rb-adm-karta.is-wybrana { border-color: #f3b300; box-shadow: 0 0 0 2px rgba(243, 179, 0, .35); }
.rb-adm-karta-l1 { display: flex; align-items: center; gap: 6px; }
.rb-adm-karta-l1 b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-adm-karta-l1 .rb-adm-status { margin-left: auto; }
.rb-adm-karta-l2 { font-size: 12px; color: #5b6472; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-adm-karta-l3 { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; font-size: 12px; align-items: center; }
.rb-adm-karta-l3 .rb-adm-data { margin-left: auto; color: #5b6472; }
.rb-adm-kropka { width: 8px; height: 8px; border-radius: 50%; background: #1f6feb; flex: none; }
.rb-adm-plak { display: inline-block; padding: 2px 7px; border-radius: 6px; background: #f1f3f6; color: #3a4558; font-size: 12px; font-weight: 600; }
.rb-adm-plak--r1 { background: #fff3c4; color: #7a5600; }
.rb-adm-plak--dup { background: #fde7d9; color: #b45309; }
.rb-adm-status { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; background: #eef0f3; color: #3a4558; white-space: nowrap; }
.rb-adm-status--new { background: #dbeafe; color: #1e40af; }
.rb-adm-status--review { background: #ede9fe; color: #5b21b6; }
.rb-adm-status--match_scheduled, .rb-adm-status--match_played { background: #fff3c4; color: #7a5600; }
.rb-adm-status--accepted { background: #dcfce7; color: #166534; }
.rb-adm-status--rejected { background: #fee2e2; color: #991b1b; }
.rb-adm-szcz { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 16px; }
.rb-adm-naglowek { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start; justify-content: space-between; }
.rb-adm-naglowek h3 { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.rb-adm-kontakt { font-size: 13px; color: #3a4558; }
.rb-adm-kontakt button { padding: 1px 7px; font-size: 12px; margin-left: 4px; }
.rb-adm-sciezka { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 10px; }
.rb-adm-etap { flex: 1 1 110px; min-height: 40px; border: 1px solid #d0d5dc; background: #f6f7f9; border-radius: 8px; font-size: 13px; font-weight: 600; color: #5b6472; padding: 6px 8px; }
.rb-adm-etap.is-przebyty { background: #ecfdf3; border-color: #abefc6; color: #166534; }
.rb-adm-etap.is-przebyty::before { content: '\2713 '; }
.rb-adm-etap.is-biezacy { background: #f3b300; border-color: #f3b300; color: #0d1017; }
.rb-adm-akcje { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.rb-adm-akcje-boczne { display: flex; flex-wrap: wrap; gap: 6px; }
.rb-adm-glowny { background: #f3b300; border-color: #d9a000; color: #0d1017; font-weight: 700; }
.rb-adm-glowny:hover { background: #ffc21a; color: #0d1017; }
.rb-adm-sekcja { border-top: 1px solid #eef0f3; margin-top: 14px; padding-top: 12px; }
.rb-adm-sekcja h4 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.rb-adm-dane { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 8px 16px; margin: 0; }
.rb-adm-dane dt { font-size: 12px; color: #5b6472; font-weight: 400; }
.rb-adm-dane dd { margin: 0; font-size: 14px; word-break: break-word; }
.rb-adm-dane .rb-adm-szeroko { grid-column: 1 / -1; }
.rb-adm-miniatury { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rb-adm-miniatury a { display: block; width: 120px; height: 80px; border-radius: 8px; overflow: hidden; border: 1px solid #e3e6ea; background: #f6f7f9; }
.rb-adm-miniatury img { width: 100%; height: 100%; object-fit: cover; }
.rb-adm-mecz { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 8px; align-items: end; }
.rb-adm-os { list-style: none; margin: 12px 0 0; padding: 0; }
.rb-adm-os li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid #f1f3f6; }
.rb-adm-inicjaly { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #0d1017; color: #ffd24a; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rb-adm-os li.is-system { color: #6b7280; }
.rb-adm-os li.is-system .rb-adm-inicjaly { background: #e5e7eb; color: #6b7280; }
.rb-adm-os-meta { font-size: 12px; color: #6b7280; }
.rb-adm-os-tresc { font-size: 14px; white-space: pre-wrap; word-break: break-word; }
@media (min-width: 992px) {
  .rb-adm-metryki { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rb-adm-dane { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rb-adm-mecz { grid-template-columns: 1.4fr 1.2fr .8fr .8fr auto; }
}

/* ---------------------------------------------------------------- Bloki desc-rekrutacja-boosterow-gora / -faq (z _robocze/tresc.css drugiego robotnika) */
/* rekrutacja-boosterow: style blokow desc-rekrutacja-boosterow-gora i -faq (klasy rb-*).
   Dokladane do public/css/rekrutacja-boosterow.css; zaklada boosting-v2.css (bv2-*) i wrapper .bv2 strony.
   Baner: gradienty i wysokosc paska nadpisuja reguly .bv2-hero z boosting-v2.css (breakpoint telefonu/tabletu 1023 px). */
.bv2-hero--rb .bv2-hero-tlo { object-position: 72% 50%; }
.bv2-hero--rb h1 { margin: 14px 0 12px; }
.bv2-hero--rb .rb-h1-zl { display: block; margin-top: 4px; color: #ffd24a; font-size: 0.72em; line-height: 1.05; }
.rb-przyciski { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 12px; font-weight: 800; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none; }
.bv2 .rb-btn--zl { background: #f3b300; color: #0d1017; border: 1px solid #f3b300; }
.bv2 .rb-btn--zl:hover { background: #ffc61f; }
.bv2 .rb-btn--ob { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); }
.bv2 .rb-btn--ob:hover { border-color: #ffd24a; color: #ffd24a; }

/* rzad kart: ciemny panel + proces */
.rb-uklad { margin-top: 18px; }
.rb-uklad > section { flex: 1 1 0; min-width: 0; }
.rb-check { list-style: none; margin: 0 0 16px; padding: 0; }
.rb-check li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-size: 15px; color: #e5e9ef; }
.rb-check li:last-child { border-bottom: 0; }
.rb-ptak { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #1f7a45; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.rb-et { flex: 1 1 auto; min-width: 0; }
.rb-wart { flex: none; margin-left: auto; font-family: var(--bv2-cond); font-size: 24px; font-weight: 800; line-height: 1; color: #ffd24a; text-align: right; }
.rb-mile { border: 1px dashed #5a4416; border-radius: 12px; padding: 12px 14px; background: rgba(240, 165, 0, 0.07); }
.rb-mile b { display: block; margin-bottom: 4px; font-family: var(--bv2-cond); font-size: 18px; color: #ffd24a; }
.bv2-ciemna .rb-mile p { margin: 0; font-size: 14px; line-height: 1.55; }

/* FAQ: cel dotykowy summary min 44 px */
.rb-faq summary { min-height: 44px; }

@media (max-width: 1023px) {
  .bv2-hero--rb { --bv2-pas: 198px; min-height: 0; }
  .bv2-hero--rb .bv2-hero-tlo { object-position: 50% 50%; }
  .bv2-hero--rb::after { background: linear-gradient(180deg, rgba(13, 16, 23, 0) 0, rgba(13, 16, 23, 0) calc(var(--bv2-pas) * 0.88), #0d1017 var(--bv2-pas), #0d1017 100%); }
  .bv2-hero--rb .bv2-hero-in { padding: calc(var(--bv2-pas) + 6px) 18px 20px; max-width: none; }
  .bv2-hero--rb h1 { font-size: 36px; }
  .rb-przyciski { flex-direction: column; }
  .rb-btn { width: 100%; }
  .rb-wart { font-size: 22px; }
}
@media (min-width: 1024px) {
  .bv2-hero--rb .bv2-hero-in { padding-top: 44px; padding-bottom: 42px; }
}
