/* FJN System — D128 (ModBlok8): the „Miejsce odłożenia” window, E1-40 empty list and filter,
   E1-41 states (no place, paid, errors, back from „bez zapłaty”, after the release), the place
   after assembly (E1-35) and the „Gotowe do wydania” tab of E1-20. */

/* „Miejsce odłożenia” window (460 px; a sheet on the phone) */
.fjn-placedlg { width: 460px; }
.fjn-placedlg__head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px 6px; }
.fjn-placedlg__heading { display: flex; flex-direction: column; gap: 2px; }
.fjn-placedlg__title { margin: 0; font-size: 19px; line-height: 26px; }
.fjn-placedlg__sub { font-size: 14px; color: var(--fjn-text-2); }
.fjn-placedlg__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 22px 18px; }
.fjn-placedlg__label { font-size: 14px; font-weight: 700; }
.fjn-placedlg__input { height: 56px; font-size: 16px; }
.fjn-placedlg__hint { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--fjn-text-2); }
.fjn-placedlg__foot { padding: 14px 22px; border-top: 1px solid var(--fjn-surface-2); background: var(--fjn-surface); }
.fjn-placedlg__btn { height: 56px; padding: 0 16px; }
@media (min-width: 1280px) { .fjn-placedlg__input, .fjn-placedlg__btn { height: 44px; } }
@media (max-width: 767px) {
  .fjn-placedlg { width: 100%; }
  .fjn-placedlg__foot { flex-direction: column-reverse; }
  .fjn-placedlg__btn { width: 100%; }
}

/* E1-40 empty list (D128 pt 3, E1-40_T_pusta-lista) */
.fjn-ready__empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 20px; text-align: center;
  background: var(--fjn-surface); border: 1px solid var(--fjn-border); border-radius: var(--fjn-r-lg);
}
.fjn-ready__empty-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--fjn-surface-2); color: var(--fjn-text-2); }
.fjn-ready__empty-title { font-size: 18px; }
.fjn-ready__empty-text { max-width: 420px; font-size: 14px; line-height: 20px; color: var(--fjn-text-2); }
.fjn-ready__empty-link { display: flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 700; text-decoration: none; }

/* E1-20 tabs (D128 pt 4) */
.fjn-otabs { display: flex; gap: 4px; border-bottom: 1px solid var(--fjn-border); overflow-x: auto; }
.fjn-otabs__tab {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; font-size: 15px; color: var(--fjn-text-2);
  white-space: nowrap; text-decoration: none;
}
.fjn-otabs__tab:hover { color: var(--fjn-text); text-decoration: none; }
.fjn-otabs__tab.is-active { color: var(--fjn-text); font-weight: 700; box-shadow: inset 0 -3px 0 var(--fjn-brand-600); }
.fjn-otabs__count { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--fjn-success-100); color: var(--fjn-success-700); font-size: 12px; }

/* E1-41 states (D128 pt 3) */
.fjn-rel__titlerow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fjn-rel__chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.fjn-rel__chip--warning { background: var(--fjn-warning-100); color: var(--fjn-warning-700); }
.fjn-rel__chip--success { background: var(--fjn-success-100); color: var(--fjn-success-700); }
.fjn-rel__banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 8px; }
.fjn-rel__banner > svg { flex: none; margin-top: 1px; }
.fjn-rel__banner div { display: flex; flex-direction: column; gap: 4px; }
.fjn-rel__banner div span { font-size: 14px; line-height: 20px; }
.fjn-rel__banner--error { background: var(--fjn-danger-100); color: var(--fjn-danger-700); }
.fjn-rel__banner--error b { font-size: 15px; }
.fjn-rel__banner--error div span { color: var(--fjn-text); }
.fjn-rel__banner--ok { align-items: center; flex-wrap: wrap; background: var(--fjn-success-100); color: var(--fjn-success-700); }
.fjn-rel__banner-text { flex: 1 1 220px; font-size: 15px; line-height: 21px; color: var(--fjn-text); }
.fjn-rel__banner-text b { color: var(--fjn-success-700); }
.fjn-rel__next { height: 36px; padding: 0 12px; border-color: var(--fjn-success-700); background: var(--fjn-success-700); color: var(--fjn-text-inverse); font-size: 14px; }
.fjn-rel__next:hover { color: var(--fjn-text-inverse); text-decoration: none; }
.fjn-rel__place-text { flex: 1; min-width: 0; }
.fjn-rel__place-link { align-self: flex-start; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.fjn-rel__place--missing { border: 2px solid var(--fjn-warning-700); background: var(--fjn-surface); color: var(--fjn-warning-700); }
.fjn-rel__place--missing .fjn-rel__place-text b { color: var(--fjn-warning-700); }
.fjn-rel__place-hint { margin: -4px 0 0; font-size: 13px; line-height: 18px; color: var(--fjn-warning-700); }
.fjn-rel__paid { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--fjn-success-100); color: var(--fjn-success-700); font-size: 15px; }
.fjn-rel__paid > svg { flex: none; }
.fjn-rel__paid span { color: var(--fjn-text); }
.fjn-rel__paid b { color: var(--fjn-success-700); }
.fjn-rel__info { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; background: var(--fjn-info-100); color: var(--fjn-info-700); font-size: 14px; line-height: 20px; }
.fjn-rel__info > svg { flex: none; margin-top: 1px; }
.fjn-rel__info span { color: var(--fjn-text); }
.fjn-field--error .fjn-rel__form span, .fjn-field--error .fjn-rel__reason span { border-color: var(--fjn-danger-700); }
.fjn-field--error .fjn-rel__note { border-color: var(--fjn-danger-700); }

/* E1-35 place after the assembly (D128 pt 2) */
.fjn-asmplace__title { margin: 0; font-size: 24px; line-height: 30px; }
.fjn-asmplace__ok { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 10px; background: var(--fjn-success-100); color: var(--fjn-success-700); font-size: 17px; }
.fjn-asmplace__ok > svg { flex: none; }
.fjn-asmplace__ok span { color: var(--fjn-text); }
.fjn-asmplace__ok b { color: var(--fjn-success-700); }
.fjn-asmplace__card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 2px solid var(--fjn-brand-600); border-radius: 12px; background: var(--fjn-surface); }
.fjn-asmplace__label { font-size: 17px; font-weight: 700; }
.fjn-asmplace__input { height: 56px; border-radius: 8px; font-size: 18px; }
.fjn-asmplace__note { margin: 0; font-size: 14px; line-height: 20px; color: var(--fjn-text-2); }

/* D130: part payment box and the warning without the permission */
.fjn-rel__partial { display: flex; flex-direction: column; gap: 12px; padding: 12px 14px; border: 2px solid var(--fjn-info-700); border-radius: 10px; background: var(--fjn-surface); }
.fjn-rel__partial[hidden], .fjn-rel__nopartial[hidden] { display: none; }
.fjn-rel__partial-head { display: flex; gap: 10px; align-items: flex-start; color: var(--fjn-info-700); }
.fjn-rel__partial-head > svg { flex: none; margin-top: 1px; }
.fjn-rel__partial-head div { display: flex; flex-direction: column; gap: 2px; color: var(--fjn-text); }
.fjn-rel__partial-head b { font-size: 15px; }
.fjn-rel__partial-head span { font-size: 13px; line-height: 18px; color: var(--fjn-text-2); }
.fjn-rel__partial-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fjn-rel__partial .fjn-select, .fjn-rel__partial .fjn-input-group { height: 52px; }
.fjn-rel__nopartial { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; background: var(--fjn-warning-100); color: var(--fjn-warning-700); font-size: 14px; line-height: 20px; }
.fjn-rel__nopartial > svg { flex: none; margin-top: 1px; }
.fjn-rel__nopartial span { color: var(--fjn-text); }
.fjn-rel__nopartial b { color: var(--fjn-warning-700); }
@media (max-width: 767px) { .fjn-rel__partial-fields { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1280px) { .fjn-rel__partial .fjn-select, .fjn-rel__partial .fjn-input-group { height: 44px; } }
.fjn-rel__partial-head b span { font-size: inherit; line-height: inherit; color: inherit; }
.fjn-rel__issue .fjn-rel__suffix[hidden] { display: none; }
.fjn-rel__issue { gap: 0.3em; }
.fjn-asmplace .fjn-qcplace__body { max-width: none; }
/* D131: „← Wróć do wpłaty” above the due date and reason (K, T) */
.fjn-rel__backlink { align-self: flex-start; font-size: 14px; font-weight: 700; text-decoration: none; }
.fjn-rel__saved { font-size: 14px; color: var(--fjn-text-2); }
