/* Centrum pomocy / formularz — ten sam „biały pas” co booking (booking-detail z main.css) */
/* Większy „oddech” nad białą treścią niż domyślne .booking-top (100px z main.css) */
.help-flow .help-flow-top.booking-top {
  padding: 200px 0 0;
  background: transparent;
}

/* Bez własnego paddingu — jak w flow rezerwacji: .booking-detail { padding: 60px 0 } z style.css */
.help-flow .help-flow-content.booking-detail {
  position: relative;
  z-index: 2;
  background: #f5f6f8 !important;
}

/*
 * Globalne .clear-padding { padding: 0 } usuwa też boczny padding z .container (Bootstrap: 15px),
 * przez co treść help-flow / landingów / statycznych kleiła się do krawędzi ekranu.
 * Przywracamy wyłącznie poziomy odstęp — max-width kontenera (1170px) i siatka col-* bez zmian.
 */
.help-flow .container.clear-padding {
  padding-left: 15px;
  padding-right: 15px;
}

.help-page-header {
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e6e6e6;
}

.help-page-header h1 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: #07253f;
  letter-spacing: 0.02em;
}

.help-page-header--category h1 {
  font-size: 24px;
}

.help-page-header h1 .fa {
  color: #f2676b;
  margin-right: 8px;
}

.help-page-lead {
  margin: 0;
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.5;
  max-width: 720px;
}

/* Flashe wewnątrz help-flow (nad treścią), spójne z .st-page-alert z main.css */
.help-flow-flashes {
  margin: 0 0 20px;
}
.help-flow-flashes:empty {
  display: none;
}

/* Nagłówek + lead wyśrodkowane (np. landing „Najtańsze kierunki”): wąski blok + tekst */
.help-page-header.text-center h1,
.help-page-header.text-center .help-page-lead {
  text-align: center;
}

.help-page-header.text-center .help-page-lead {
  margin-left: auto;
  margin-right: auto;
}

.help-booking-return-link {
  margin: 0 0 12px;
  font-size: 14px;
}

.help-booking-return-link a {
  font-weight: 700;
  color: #0a3152;
}

.help-booking-return-link a .fa {
  margin-right: 4px;
}

.help-back-link {
  margin: 0 0 16px;
  font-size: 14px;
}

.help-back-link a {
  color: #07253f;
  text-decoration: none;
}

.help-back-link a:hover {
  color: #f2676b;
}

.help-back-link .fa {
  margin-right: 4px;
}

.help-page-cta {
  margin: 24px 0 0;
  font-size: 13px;
}

.help-page-cta a {
  color: #f2676b;
  font-weight: 600;
}

.help-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 8px;
}

.help-category-card {
  display: block;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 20px 18px;
  background: #fff;
  color: #07253f;
  text-decoration: none !important;
  transition: box-shadow 0.2s, border-color 0.2s;
  min-height: 120px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.help-category-card:hover {
  border-color: #f2676b;
  box-shadow: 0 4px 14px rgba(7, 37, 63, 0.1);
  color: #07253f;
}

.help-category-card .help-cat-icon {
  font-size: 28px;
  color: #f2676b;
  margin-bottom: 10px;
}

.help-category-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.help-category-card .help-cat-more {
  font-size: 13px;
  color: #f2676b;
  margin-top: 8px;
}

.help-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.help-main {
  flex: 1 1 520px;
  min-width: 280px;
}

.help-sidebar {
  flex: 0 0 260px;
  max-width: 100%;
  border: 1px solid #e6e6e6;
  box-shadow: 0 0 5px #e6e6e6;
  border-radius: 0;
  padding: 0;
  background: #fff;
}

.help-sidebar h4 {
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 800;
  color: #07253f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #e6e6e6;
  border-bottom: 1px solid #ddd;
}

.help-sidebar ul {
  list-style: none;
  padding: 12px 16px 16px;
  margin: 0;
}

.help-sidebar li {
  margin-bottom: 10px;
}

.help-sidebar a {
  color: #07253f;
  font-size: 14px;
  text-decoration: none;
}

.help-sidebar a:hover {
  color: #f2676b;
}

.help-sidebar li.active a {
  color: #f2676b;
  font-weight: 600;
}

.help-accordion .panel {
  border-color: #e6e6e6;
  box-shadow: none;
  margin-bottom: 10px;
}

.help-accordion .panel-heading {
  background: #fff;
  padding: 0;
}

.help-accordion .panel-heading a {
  display: block;
  padding: 14px 16px;
  font-weight: 600;
  color: #07253f;
  text-decoration: none !important;
}

.help-accordion .panel-heading a:hover {
  color: #f2676b;
}

.help-accordion .panel-body {
  border-top: 1px solid #eee;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
}

.help-accordion .panel-body a {
  color: #f2676b;
  text-decoration: underline;
}

.support-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.support-form-wrap {
  flex: 1 1 480px;
  min-width: 280px;
}

.support-sidebar {
  flex: 0 0 280px;
  max-width: 100%;
}

/* ===== Support form — Skytravi style (spójne z booking flow) ===== */
.support-form .form-group {
  margin-bottom: 18px;
}

.support-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #07253f;
  letter-spacing: 0.02em;
}

.support-form-wrap label .req {
  color: #f2676b;
  margin-left: 2px;
}

.support-form .form-control {
  height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  color: #07253f;
  background: #fff;
  border: 1px solid #d7dce2;
  border-radius: 3px;
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.support-form textarea.form-control,
.support-form .support-textarea {
  height: auto;
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.support-form-wrap .form-control:focus,
.support-form .form-control:focus {
  border-color: #00adef;
  box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.15);
  outline: none;
}

.support-form .form-control::placeholder {
  color: #9aa2ac;
}

/* Select: custom chevron (zamiast natywnego) */
.support-select-wrap {
  position: relative;
}

.support-select-wrap::after {
  content: '\f078';
  font-family: 'FontAwesome';
  font-size: 11px;
  color: #6a7582;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.support-form .support-select-wrap select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 36px;
  background-image: none;
  cursor: pointer;
}

.support-form .support-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6a7582;
}

/* Dropzone — obszar upload plików */
.support-dropzone {
  position: relative;
  border: 2px dashed #c8d0db;
  border-radius: 4px;
  background: #fafbfc;
  padding: 26px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.support-dropzone:hover,
.support-dropzone:focus {
  border-color: #00adef;
  background: #f3f9fd;
  outline: none;
}

.support-dropzone.is-dragging {
  border-color: #f2676b;
  background: #fdf2f2;
}

.support-dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.support-dropzone-inner {
  pointer-events: none;
}

.support-dropzone-icon {
  display: block;
  font-size: 32px;
  color: #6a7582;
  margin-bottom: 8px;
}

.support-dropzone.is-dragging .support-dropzone-icon {
  color: #f2676b;
}

.support-dropzone-prompt {
  font-size: 14px;
  color: #07253f;
  font-weight: 500;
  margin-bottom: 4px;
}

.support-dropzone-link {
  color: #f2676b;
  font-weight: 600;
  text-decoration: underline;
}

.support-dropzone-hint {
  font-size: 12px;
  color: #6a7582;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Lista wybranych plików */
.support-file-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.support-file-list:empty {
  display: none;
}

.support-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  font-size: 13px;
  color: #07253f;
}

.support-file-item.has-error {
  border-color: #f2676b;
  background: #fdf2f2;
}

.support-file-item-icon {
  color: #00adef;
  font-size: 16px;
  flex: 0 0 auto;
}

.support-file-item.has-error .support-file-item-icon {
  color: #f2676b;
}

.support-file-item-name {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-file-item-size {
  color: #6a7582;
  font-size: 12px;
  flex: 0 0 auto;
}

.support-file-item-remove {
  flex: 0 0 auto;
  background: none;
  border: none;
  color: #6a7582;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
}

.support-file-item-remove:hover,
.support-file-item-remove:focus {
  color: #f2676b;
  background: #fdecec;
  outline: none;
}

/* Przycisk wysyłki — spójny z .addon-continue .btn z flights.css */
.support-submit-row {
  margin-top: 24px;
}

.support-submit-btn.btn {
  background: #f2676b;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  font-size: 15px;
  min-width: 200px;
  transition: background-color 0.15s, box-shadow 0.15s;
  position: relative;
}

.support-submit-btn.btn:hover,
.support-submit-btn.btn:focus {
  background: #e04f53;
  color: #fff;
  outline: none;
  box-shadow: 0 2px 8px rgba(242, 103, 107, 0.25);
}

.support-submit-btn.btn:active {
  background: #cf4247;
  color: #fff;
}

.support-submit-btn .support-submit-loading {
  display: none;
}

.support-submit-btn.is-loading {
  cursor: wait;
  opacity: 0.92;
  pointer-events: none;
}

.support-submit-btn.is-loading .support-submit-label {
  display: none;
}

.support-submit-btn.is-loading .support-submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.support-submit-btn[disabled] {
  pointer-events: none;
  opacity: 0.8;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-turnstile-host {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.support-errors {
  color: #a94442;
  background: #f2dede;
  border: 1px solid #ebccd1;
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  display: none;
}

.support-errors.visible {
  display: block;
}

/* Strony statyczne (HTML z panelu admina) — pełna szerokość kontenera (brak wąskiej kolumny 900px) */
.static-page-body {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.static-page-body h2,
.static-page-body h3,
.static-page-body h4 {
  margin-top: 1.4em;
  margin-bottom: 0.5em;
  color: #07253f;
  font-weight: 700;
}

.static-page-body h2 {
  font-size: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e6e6e6;
}

.static-page-body p {
  margin: 0 0 1em;
}

.static-page-body ul,
.static-page-body ol {
  margin: 0 0 1em 1.2em;
  padding: 0;
}

.static-page-body a {
  color: #f2676b;
  text-decoration: underline;
}

.static-page-body a:hover {
  color: #00adef;
}

.static-page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* =========================================================
   Booking access form — overrides for light background
   .mega-booking-form inside .help-flow renders on white,
   so the dark-navbar defaults (white text, transparent bg) need reversing.
   ========================================================= */
.help-flow .mega-booking-form label {
  color: #07253f;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.help-flow .mega-booking-form .form-control {
  background: #fff;
  border: 1px solid #d7dce2;
  color: #07253f;
  height: 44px;
  font-size: 14px;
  border-radius: 3px;
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.help-flow .mega-booking-form .form-control:focus {
  border-color: #00adef;
  box-shadow: 0 0 0 3px rgba(0, 173, 239, 0.15);
  outline: none;
}

.help-flow .mega-booking-form .form-control::placeholder {
  color: #9aa2ac;
}

.help-flow .btn-booking-lookup {
  width: 100%;
  padding: 12px 30px;
  font-size: 15px;
}

.static-page-body strong {
  font-weight: 700;
  color: #222;
}
