@font-face {
  font-family: "IBM Plex Sans";
  src: url("https://fwpn.org.pl/wp-content/themes/fwpn/assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
}
:root {
  --fwpn-primary: #150073;
  --fwpn-primary-dark: #1a0090;
  --fwpn-accent: #7666bc;
  --fwpn-accent-soft: #f1effc;
  --fwpn-cta: #be161d;
  --fwpn-cta-hover: #a01218;
  --ink: #1d1e21;
  --muted: #757a82;
  --border: #e0e0e0;
  --paper: #f7f7f9;
}
body { color: var(--ink); background: var(--paper); font-family: "IBM Plex Sans", Arial, sans-serif; }
.navbar { min-height: 88px; margin-bottom: 32px; background: #fff; border: 0; border-bottom: 1.5px solid #d3d6da; border-radius: 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.navbar .container { min-height: 88px; display: flex; align-items: center; }
.navbar-header { height: 88px; display: flex; align-items: center; float: none; }
.navbar-brand { height: 88px; padding: 0; display: flex; align-items: center; }
.navbar-brand img { display: block; width: 202px; max-width: 62vw; height: auto; max-height: 64px; object-fit: contain; object-position: left center; }
.application-hero { display: flex; align-items: center; gap: 32px; margin-bottom: 28px; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: 12px 12px 4px 12px; box-shadow: 0 8px 32px rgba(26, 0, 144, .08); }
.application-hero img { width: 180px; height: 180px; object-fit: cover; flex: 0 0 auto; }
.application-hero h1 { margin: 4px 0 10px; font-size: 34px; }
.application-hero p { max-width: 680px; margin-bottom: 0; font-size: 16px; }
.application-hero .edition { color: var(--fwpn-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.form-section { margin-bottom: 22px; padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: 12px 12px 4px 12px; }
.form-section h2 { margin: 0 0 22px; padding-bottom: 10px; color: var(--fwpn-primary); border-bottom: 3px solid var(--fwpn-accent); font-size: 23px; }
.form-section h3 { margin: 20px 0 14px; font-size: 18px; }
.form-section h3:first-of-type { margin-top: 0; }
.form-section h3 small { color: var(--muted); font-size: 13px; }
.form-control:focus { border-color: var(--fwpn-accent); box-shadow: 0 0 0 2px rgba(118, 102, 188, .18); }
.help-block { color: var(--muted); }
.upload-note { margin: 12px 0 18px; padding: 12px 14px; background: var(--fwpn-accent-soft); border-left: 4px solid var(--fwpn-accent); }
.reference-file-row { display: flex; align-items: center; gap: 12px; min-height: 38px; margin-bottom: 8px; }
.reference-file-row input[type="file"] { max-width: 100%; }
.reference-file-remove { padding: 3px 6px; color: var(--fwpn-cta); }
.reference-file-remove[hidden] { display: none !important; }
.reference-files-status { margin-top: 5px; color: var(--muted); font-size: 13px; }
.consent-intro { margin-bottom: 22px; font-weight: 600; }
.consents .checkbox { margin: 0 0 16px; padding: 14px 16px 14px 38px; background: var(--fwpn-accent-soft); border-radius: 12px 12px 4px 12px; }
.consents .checkbox input { margin-left: -22px; }
.consents a { color: var(--fwpn-primary-dark); text-decoration: underline; }
.submit-row { margin: 10px 0 50px; text-align: center; }
.btn-primary { background: var(--fwpn-cta); border-color: var(--fwpn-cta); border-radius: 12px 12px 4px 12px; }
.btn-primary:hover, .btn-primary:focus { background: var(--fwpn-cta-hover); border-color: var(--fwpn-cta-hover); }
.submit-row p { margin-top: 10px; color: var(--muted); }
.submission-details { margin: 0; }
.submission-details dt { margin-top: 14px; color: var(--fwpn-primary); }
.submission-details dd { margin: 3px 0 0; overflow-wrap: anywhere; }
.file-status { display: inline-block; padding: 3px 10px; border-radius: 12px 12px 4px 12px; font-weight: 600; }
.file-status--sent { color: var(--fwpn-primary); background: var(--fwpn-accent-soft); }
.file-status--missing { color: var(--muted); background: #f5f5f5; }
.access-code-panel { max-width: 640px; margin-left: auto; margin-right: auto; }
.access-code-input { max-width: 220px; font-size: 22px; letter-spacing: .2em; }
@media (max-width: 600px) {
  .navbar { min-height: 76px; }
  .navbar .container { display: flex; min-height: 76px; padding: 10px 15px; }
  .navbar-header { width: 100%; height: 56px; justify-content: center; }
  .navbar-brand { float: none; height: 56px; padding: 0; }
  .navbar-brand img { width: 185px; max-width: 80vw; max-height: 56px; }
  .application-hero { display: block; padding: 18px; text-align: center; }
  .application-hero img { width: 140px; height: 140px; margin-bottom: 12px; }
  .application-hero h1 { font-size: 28px; }
  .form-section { padding: 18px; }
}
