/* forms.css — Pola formularzy, przyciski, chipy wyboru */


input[type="text"], input[type="date"], input[type="number"],
input[type="time"], textarea, select {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--sky), var(--teal));
  outline: none;
}

button { cursor: pointer; font-family: inherit; border: none; border-radius: 12px; transition: all .16s ease; font-size: 14px; }

.pill, .pill-btn {
  padding: 11px 16px;
  font-size: 13.5px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  border-radius: 12px;
}

.chip, .sug-chip, .country-btn, .sug-chip-multi, .extra-country-btn, .int-chip {
  padding: 9px 15px;
  font-size: 12.5px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all .16s ease;
}

.booking-btn, .sky-check {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 12px;
  font-weight: 600; font-size: 14px; width: 100%;
  color: #fff; margin-bottom: 8px; border: none;
  transition: transform .15s ease, filter .15s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(14,165,233,.14);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform .15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }

input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue);
  box-shadow: var(--sh-sm); cursor: pointer;
}

:focus-visible { outline: 3px solid rgba(14,165,233,.6); outline-offset: 2px; }

.pill:hover, .pill-btn:hover { background: #F1F7FE; border-color: #C9DDF2; transform: translateY(-1px); }

.pill.active, .pill-btn.active {
  background: #E0F2FE; border-color: var(--sky); color: #0369A1; font-weight: 600;
}

.chip:hover, .sug-chip:hover, .country-btn:hover,
.sug-chip-multi:hover, .extra-country-btn:hover, .int-chip:hover {
  background: #F1F7FE; border-color: #B9D6F1; transform: translateY(-1px);
}

.chip.active, .sug-chip.active, .country-btn.active,
.sug-chip-multi.active, .extra-country-btn.active, .int-chip.active {
  background: linear-gradient(120deg, #E0F2FE, #CCFBF1);
  border-color: var(--sky); color: #0369A1; font-weight: 600;
}

.booking-btn:hover, .sky-check:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-booking { background: #003580; }

.btn-tui { background: #E60028; }

.btn-sky { background: #0770E3; }

.btn-expedia { background: #FFC72C; color: #1A1A1A; }

.btn-gyg { background: #FF5533; }

.sky-check { background: #0770E3; margin-top: 10px; font-size: 12px; padding: 11px 14px; }


/* ===== v81: SZEROKI LAYOUT + NOWE KROKI ===== */

/* Kafelki stylu wyjazdu (budżet) */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.tier-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: white;
  border: 2px solid #E5E5E2;
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, box-shadow .15s, transform .1s;
  font-family: inherit;
}
.tier-card:hover { border-color: #2563EB; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,.12); }
.tier-card.active { border-color: #14B8A6; background: linear-gradient(135deg, #F0FDFA 0%, #EFF6FF 100%); box-shadow: 0 8px 20px rgba(20,184,166,.18); }
.tier-icon  { font-size: 26px; }
.tier-title { font-size: 16px; font-weight: 700; color: #0F2A43; }
.tier-sub   { font-size: 12px; color: #2563EB; font-weight: 600; }
.tier-desc  { font-size: 12px; color: #6B6B6B; line-height: 1.5; flex: 1; }
.tier-price { font-size: 15px; font-weight: 700; color: #0F766E; margin-top: 6px; }

/* Lista życzeń - "Co chcesz zobaczyć?" */
.wish-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.wish-item {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  border: 1px solid #2563EB; border-radius: 12px; padding: 10px 12px;
}
.wish-num {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #2563EB, #14B8A6); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.wish-name { flex: 1; font-size: 13px; font-weight: 500; color: #0F2A43; }
.wish-del {
  background: white; border: 1px solid #E5E5E2; border-radius: 8px;
  width: 26px; height: 26px; cursor: pointer; color: #6B6B6B;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wish-del:hover { color: #DC2626; border-color: #DC2626; }

/* ===== v83: naprawa pola wishlisty (btn-primary miał width:100%) ===== */
.wish-input {
  flex: 1;
  min-width: 0;                 /* pozwala się kurczyć w flexie, ale nie znika */
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid #DDE6F2;
  border-radius: 12px;
}
.wish-input:focus { border-color: #2563EB; outline: none; }
.wish-add-btn {
  flex: 0 0 auto;               /* przycisk NIE rozciąga się na całość */
  width: auto;
  padding: 0 26px;
  background: linear-gradient(135deg, #2563EB, #14B8A6);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37,99,235,.28);
}
.wish-add-btn:hover { transform: translateY(-1px); }

/* ===== Pasek korzyści (jak w projekcie graficznym) ===== */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(15,42,67,.08);
}
.feat-item { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: #5B6B7C; line-height: 1.35; }
.feat-item b { color: #0F2A43; font-size: 12px; }
.feat-ico { font-size: 22px; flex-shrink: 0; }

/* ===== Karty krajów: miasta + kategorie z gwiazdkami (jak w mockupie) ===== */
.cc-cities {
  display: block;
  font-size: 11px;
  color: #5B6B7C;
  margin: 2px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cc-tags { display: flex; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.cc-tag { display: flex; flex-direction: column; gap: 1px; }
.cc-tag-name { font-size: 10px; font-weight: 600; color: #0F2A43; }
.cc-stars { font-size: 9px; color: #2563EB; letter-spacing: 1px; }
.cc-star-off { color: #D4DEEA; }

/* ===== v84: opisy miejsc widoczne od razu przy każdym punkcie planu ===== */
.slot-desc {
  margin: 6px 0 4px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #F5F9FF 0%, #F0FDFA 100%);
  border-left: 3px solid #2563EB;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #1F2A37;
  white-space: pre-wrap;
}
.ai-desc-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 6px; padding: 5px 11px;
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  color: white; border: none; border-radius: 12px;
  font-size: 11px; font-weight: 600; cursor: pointer;
}
