.bsk-dotaznik {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.bsk-dotaznik * {
  box-sizing: border-box;
}

.bsk-intro {
  margin: 0 0 26px;
  padding: 24px 26px;
  border: 1px solid #dbe6f5;
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.bsk-intro p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: #334155;
}

.bsk-intro p:last-child {
  margin-bottom: 0;
}

.bsk-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 0 0 26px;
}

.bsk-step {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 88px;
  padding: 16px 18px;
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bsk-step:hover {
  transform: translateY(-1px);
  border-color: #b6c7dc;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.bsk-step.is-active {
  border-color: #005baa;
  box-shadow: 0 0 0 3px rgba(0, 91, 170, 0.12);
}

.bsk-step.is-complete {
  border-color: #2b7a4b;
}

.bsk-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eef4fb;
  color: #1e3a5f;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.bsk-step.is-active .bsk-step-number,
.bsk-step.is-complete .bsk-step-number {
  color: #ffffff;
  background: #005baa;
}

.bsk-step.is-complete .bsk-step-number {
  background: #2b7a4b;
}

.bsk-step-text {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: #243447;
}

.bsk-section {
  margin: 0 0 24px;
  padding: 28px;
  border: 1px solid #dde7f1;
  border-radius: 22px;
  background: #fcfdff;
}

.bsk-section[hidden] {
  display: none !important;
}

.bsk-section h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  color: #163b68;
}

.bsk-section h4 {
  margin: 26px 0 10px;
  font-size: 20px;
  line-height: 1.3;
  color: #163b68;
}

.bsk-section > p,
.bsk-subsection > p,
.bsk-note {
  color: #475569;
  line-height: 1.7;
}

.bsk-grid {
  display: grid;
  gap: 18px;
}

.bsk-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bsk-field,
.bsk-subsection,
.bsk-table-wrap,
.bsk-repeater,
.bsk-note,
.bsk-intro {
  margin-bottom: 20px;
}

.bsk-label,
.bsk-field label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
  line-height: 1.45;
  color: #223041;
}

.bsk-required {
  color: #c62828;
  margin-left: 4px;
}

.bsk-field input[type="text"],
.bsk-field input[type="email"],
.bsk-field input[type="number"],
.bsk-field input[type="tel"],
.bsk-field textarea,
.bsk-table input[type="text"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfd9e4;
  border-radius: 14px;
  background: #ffffff;
  color: #1f2937;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bsk-field input[type="text"]:focus,
.bsk-field input[type="email"]:focus,
.bsk-field input[type="number"]:focus,
.bsk-field input[type="tel"]:focus,
.bsk-field textarea:focus,
.bsk-table input[type="text"]:focus {
  outline: 0;
  border-color: #005baa;
  box-shadow: 0 0 0 4px rgba(0, 91, 170, 0.12);
}

.bsk-field textarea {
  min-height: 140px;
  resize: vertical;
}

.bsk-options {
  display: grid;
  gap: 12px;
}

.bsk-options label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #d9e2ec;
  border-radius: 14px;
  background: #ffffff;
  font-weight: 500;
  color: #334155;
}

.bsk-options input[type="checkbox"],
.bsk-options input[type="radio"] {
  margin-top: 3px;
  transform: scale(1.08);
}

.bsk-table-wrap {
  overflow-x: auto;
  border: 1px solid #dde7f1;
  border-radius: 18px;
  background: #ffffff;
}

.bsk-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.bsk-table th,
.bsk-table td {
  padding: 12px 12px;
  border-right: 1px solid #e6edf5;
  border-bottom: 1px solid #e6edf5;
  vertical-align: top;
}

.bsk-table th:last-child,
.bsk-table td:last-child {
  border-right: 0;
}

.bsk-table tr:last-child td {
  border-bottom: 0;
}

.bsk-table thead th {
  background: #f4f8fc;
  font-weight: 700;
  color: #163b68;
}

.bsk-table tbody th,
.bsk-table tbody td:first-child {
  background: #fbfdff;
}

.bsk-service-card {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid #dbe4ee;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.bsk-note {
  padding: 14px 16px;
  border-left: 4px solid #005baa;
  border-radius: 0 14px 14px 0;
  background: #f6fbff;
}

.bsk-nav,
.bsk-submit-wrap {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 22px 0 0;
}

.bsk-nav {
  justify-content: space-between;
}

.bsk-submit-wrap {
  justify-content: flex-end;
}

.bsk-button,
.bsk-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: #005baa;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  box-shadow: 0 10px 22px rgba(0, 91, 170, 0.18);
}

.bsk-button:hover,
.bsk-submit:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

.bsk-button-secondary {
  background: #5b6878;
  box-shadow: 0 10px 22px rgba(71, 85, 105, 0.18);
}

.bsk-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.bsk-notice {
  margin-bottom: 18px;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  line-height: 1.6;
}

.bsk-success {
  background: #edf8ef;
  border-color: #cae8d0;
  color: #1d5b2a;
}

.bsk-error {
  background: #fff1f1;
  border-color: #f2c9c9;
  color: #a12626;
}

.bsk-invalid {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.12) !important;
}

@media (max-width: 900px) {
  .bsk-dotaznik {
    padding: 20px;
    border-radius: 20px;
  }

  .bsk-section {
    padding: 22px;
  }

  .bsk-section h3 {
    font-size: 24px;
  }
}

@media (max-width: 782px) {
  .bsk-dotaznik {
    padding: 16px;
  }

  .bsk-steps {
    grid-template-columns: 1fr;
  }

  .bsk-step {
    min-height: 72px;
  }

  .bsk-section {
    padding: 18px;
    border-radius: 18px;
  }

  .bsk-intro {
    padding: 18px;
  }

  .bsk-nav,
  .bsk-submit-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .bsk-button,
  .bsk-submit {
    width: 100%;
  }
}
