/* =====================================================
   WBS FORM PAGE - wbs-form.css
   Formulir Pengaduan Whistleblowing System
   Stasiun Pemantau Atmosfer Global Lore Lindu Bariri
===================================================== */

/* =====================================================
   ROOT VARIABLES
===================================================== */

:root {
  --primary: #00529b;
  --primary-dark: #082e63;
  --primary-soft: #e8f3ff;

  --green: #0fa76b;
  --green-dark: #087f52;
  --green-soft: #e9fff5;

  --red: #d92d20;
  --red-dark: #a41f17;
  --red-soft: #fff1ef;

  --yellow: #b7791f;
  --yellow-soft: #fff8e6;

  --bg: #f4f8ff;
  --bg-soft: #eef5ff;
  --white: #ffffff;

  --text: #0d1b35;
  --muted: #53627a;
  --soft: #76869c;

  --border: rgba(13, 27, 53, 0.1);
  --border-strong: rgba(13, 27, 53, 0.16);

  --shadow-sm: 0 8px 20px rgba(16, 38, 78, 0.07);
  --shadow-md: 0 16px 38px rgba(16, 38, 78, 0.1);
  --shadow-lg: 0 24px 70px rgba(16, 38, 78, 0.16);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --container: 1180px;
  --header-height: 76px;

  --transition: 220ms ease;
}

/* =====================================================
   RESET
===================================================== */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  padding: 0;
}

::selection {
  color: #ffffff;
  background: var(--primary);
}

/* =====================================================
   PAGE
===================================================== */

.wbsf-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(15, 167, 107, 0.11), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(0, 82, 155, 0.12), transparent 32%),
    linear-gradient(180deg, #f3f8ff 0%, #ffffff 52%, #f7fbff 100%);
}

/* =====================================================
   GENERIC ICON
===================================================== */

.wbsf-icon,
.wbsf-input-icon,
.wbsf-info-svg {
  display: inline-block;
  flex: 0 0 auto;
  color: currentColor;
}

.wbsf-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--soft);
  pointer-events: none;
}

/* =====================================================
   HEADER
===================================================== */

.wbsf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(13, 27, 53, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wbsf-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(16, 38, 78, 0.08);
}

.wbsf-header-container {
  width: min(var(--container), calc(100% - 40px));
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.wbsf-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  flex: 1 1 auto;
}

.wbsf-brand-logo {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  max-height: 46px !important;
  object-fit: contain !important;
  flex: 0 0 46px !important;
}

.wbsf-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wbsf-brand-text strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.002em;
  white-space: nowrap;
}

.wbsf-brand-text span {
  display: block;
  max-width: 390px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.32;
  font-weight: 650;
  white-space: normal;
}

.wbsf-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex: 0 0 auto;
}

.wbsf-home-link,
.wbsf-status-link,
.wbsf-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.wbsf-home-link {
  gap: 8px;
  padding: 10px 15px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 82, 155, 0.14);
  box-shadow: var(--shadow-sm);
}

.wbsf-home-link:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(0, 82, 155, 0.28);
  transform: translateY(-1px);
}

.wbsf-status-link {
  gap: 8px;
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border: 1px solid rgba(15, 167, 107, 0.24);
  box-shadow: 0 10px 22px rgba(15, 167, 107, 0.24);
}

.wbsf-status-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 167, 107, 0.3);
}

/* Theme button icon-only */
.wbsf-theme-icon-button,
.wbsf-theme-toggle {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 82, 155, 0.14);
  box-shadow: var(--shadow-sm);
}

.wbsf-theme-toggle {
  position: relative;
  overflow: hidden;
}

.wbsf-theme-toggle:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(0, 82, 155, 0.28);
  transform: translateY(-1px);
}

.wbsf-theme-icon-state {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.wbsf-theme-svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  color: currentColor;
}

.wbsf-theme-moon {
  display: none !important;
}

[data-theme="dark"] .wbsf-theme-sun,
body.dark-theme .wbsf-theme-sun {
  display: none !important;
}

[data-theme="dark"] .wbsf-theme-moon,
body.dark-theme .wbsf-theme-moon {
  display: block !important;
}

/* =====================================================
   HERO
===================================================== */

.wbsf-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
  padding: 76px 20px 82px;
  overflow: hidden;
  isolation: isolate;
}

.wbsf-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--wbsf-hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(5px) saturate(1.04) contrast(1.04) brightness(0.88);
  transform: scale(1.035);
  opacity: 1;
}

.wbsf-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.28) 56%,
      rgba(236, 244, 255, 0.46) 100%
    ),
    linear-gradient(
      180deg,
      rgba(235, 244, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.24) 48%,
      rgba(238, 245, 255, 0.42) 100%
    );
}

.wbsf-hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  padding: clamp(34px, 5vw, 56px) clamp(22px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.62),
      rgba(255, 255, 255, 0.5)
    );
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  overflow: hidden;
}

.wbsf-hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.44), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

/* Hero back button */
.wbsf-hero-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.wbsf-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 82, 155, 0.14);
  box-shadow: 0 8px 20px rgba(16, 38, 78, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.wbsf-back-link:hover {
  transform: translateY(-1px);
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(0, 82, 155, 0.26);
}

.wbsf-hero-badge,
.wbsf-kicker,
.wbsf-footer-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 30px;
  padding: 7px 13px;
  margin-bottom: 22px;
  border: 1px solid rgba(15, 167, 107, 0.2);
  border-radius: 999px;
  background: rgba(233, 255, 245, 0.88);
  color: var(--green-dark);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.wbsf-footer-kicker {
  justify-content: flex-start;
  min-height: auto;
  padding: 0;
  margin-bottom: 12px;
  border: 0;
  background: transparent;
}

.wbsf-hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(15, 167, 107, 0.14);
}

.wbsf-hero-content h1 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.14;
  font-weight: 920;
  letter-spacing: 0.004em;
  text-wrap: balance;
}

.wbsf-hero-content p {
  max-width: 730px;
  margin: 20px auto 0;
  color: #263a5c;
  font-size: clamp(0.96rem, 1.05vw, 1.04rem);
  line-height: 1.86;
  font-weight: 650;
  text-wrap: pretty;
}

.wbsf-hero-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.wbsf-info-item {
  min-height: 142px;
  padding: 24px 22px;
  border: 1px solid rgba(13, 27, 53, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(16, 38, 78, 0.08);
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.wbsf-info-item:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 167, 107, 0.22);
  box-shadow: 0 18px 36px rgba(16, 38, 78, 0.13);
}

.wbsf-info-svg {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  padding: 10px;
  border-radius: 14px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.wbsf-info-item strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.38;
  font-weight: 900;
  letter-spacing: 0.002em;
}

.wbsf-info-item span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.64;
  font-weight: 650;
}

/* =====================================================
   SECTION / LAYOUT
===================================================== */

.wbsf-section {
  padding: 86px 0 94px;
}

.wbsf-container,
.wbsf-footer-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.wbsf-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* =====================================================
   SIDEBAR
===================================================== */

.wbsf-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 18px;
}

.wbsf-side-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(16, 38, 78, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wbsf-side-main {
  background:
    linear-gradient(
      180deg,
      rgba(233, 255, 245, 0.82),
      rgba(255, 255, 255, 0.86)
    );
  border-color: rgba(15, 167, 107, 0.18);
}

.wbsf-side-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 18px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.wbsf-side-card h2,
.wbsf-side-card h3 {
  margin: 0;
  color: var(--text);
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbsf-side-card h2 {
  font-size: 1.48rem;
  line-height: 1.28;
}

.wbsf-side-card h3 {
  font-size: 1.12rem;
  line-height: 1.38;
}

.wbsf-side-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.76;
}

.wbsf-check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.wbsf-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 690;
}

.wbsf-check-list svg {
  margin-top: 2px;
  color: var(--green);
  flex: 0 0 17px;
}

.wbsf-warning-card {
  border-color: rgba(183, 121, 31, 0.18);
  background:
    linear-gradient(
      180deg,
      rgba(255, 248, 230, 0.88),
      rgba(255, 255, 255, 0.86)
    );
}

/* =====================================================
   FORM CARD
===================================================== */

.wbsf-form-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.84)
    );
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
}

.wbsf-form-header {
  padding: 38px 40px 28px;
  border-bottom: 1px solid rgba(13, 27, 53, 0.08);
}

.wbsf-form-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.65rem, 2.8vw, 2.38rem);
  line-height: 1.24;
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbsf-form-header p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.76;
}

.wbsf-form-header p strong {
  color: var(--red);
}

/* =====================================================
   PROGRESS
===================================================== */

.wbsf-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 26px 40px;
  border-bottom: 1px solid rgba(13, 27, 53, 0.08);
  background: rgba(248, 251, 255, 0.76);
}

.wbsf-progress-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--soft);
}

.wbsf-progress-item span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;
  color: var(--soft);
  background: rgba(13, 27, 53, 0.06);
  font-weight: 900;
}

.wbsf-progress-item p {
  margin: 0;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.wbsf-progress-item.is-active {
  color: var(--green-dark);
}

.wbsf-progress-item.is-active span {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 10px 22px rgba(15, 167, 107, 0.22);
}

.wbsf-progress-line {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(13, 27, 53, 0.1);
}

/* =====================================================
   FORM
===================================================== */

.wbsf-form {
  padding: 38px 40px 42px;
}

.wbsf-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.wbsf-step {
  display: none;
}

.wbsf-step.is-active {
  display: block;
}

.wbsf-section-title {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.wbsf-section-title > span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 24px rgba(0, 82, 155, 0.18);
  font-size: 0.96rem;
  font-weight: 920;
}

.wbsf-section-title h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.32rem;
  line-height: 1.32;
  font-weight: 920;
  letter-spacing: 0.003em;
}

.wbsf-section-title p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.wbsf-field {
  margin-bottom: 30px;
}

.wbsf-field label,
.wbsf-fieldset legend {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: 0.002em;
}

.wbsf-required {
  color: var(--red);
  font-weight: 920;
}

.wbsf-help {
  margin: 8px 0 13px;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.62;
  font-weight: 560;
}

.wbsf-grid {
  display: grid;
  gap: 24px;
}

.wbsf-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wbsf-input-wrap {
  position: relative;
}

.wbsf-input-wrap input,
.wbsf-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.wbsf-input-wrap input {
  min-height: 56px;
  padding: 0 18px 0 50px;
  border-radius: 17px;
}

.wbsf-form textarea {
  min-height: 150px;
  padding: 17px 18px;
  border-radius: 18px;
  resize: vertical;
  line-height: 1.72;
}

.wbsf-input-wrap input::placeholder,
.wbsf-form textarea::placeholder {
  color: #9aa6b7;
}

.wbsf-input-wrap input:hover,
.wbsf-form textarea:hover {
  border-color: rgba(0, 82, 155, 0.22);
}

.wbsf-input-wrap input:focus,
.wbsf-form textarea:focus {
  border-color: rgba(0, 82, 155, 0.55);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 82, 155, 0.12);
}

.wbsf-input-wrap input.is-invalid,
.wbsf-form textarea.is-invalid {
  border-color: rgba(217, 45, 32, 0.68);
  background: var(--red-soft);
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.09);
}

.wbsf-error {
  display: block;
  min-height: 18px;
  margin-top: 7px;
  color: var(--red);
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 730;
}

.wbsf-counter {
  margin-top: 8px;
  color: var(--soft);
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 720;
  text-align: right;
}

/* =====================================================
   CHECKBOX OPTIONS
===================================================== */

.wbsf-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.wbsf-check-option,
.wbsf-statement-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.wbsf-check-option:hover,
.wbsf-statement-option:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 82, 155, 0.22);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 38, 78, 0.08);
}

.wbsf-check-option input,
.wbsf-statement-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wbsf-check-option::before,
.wbsf-statement-option::before {
  content: "";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
  border: 2px solid rgba(0, 82, 155, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.wbsf-check-option.is-checked,
.wbsf-statement-option.is-checked,
.wbsf-check-option:has(input:checked),
.wbsf-statement-option:has(input:checked) {
  border-color: rgba(15, 167, 107, 0.35);
  background: rgba(233, 255, 245, 0.82);
  box-shadow: 0 12px 26px rgba(15, 167, 107, 0.09);
}

.wbsf-check-option.is-checked::before,
.wbsf-statement-option.is-checked::before,
.wbsf-check-option:has(input:checked)::before,
.wbsf-statement-option:has(input:checked)::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 167, 107, 0.13);
}

.wbsf-check-option.is-checked::after,
.wbsf-statement-option.is-checked::after,
.wbsf-check-option:has(input:checked)::after,
.wbsf-statement-option:has(input:checked)::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 25px;
  width: 7px;
  height: 11px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.wbsf-check-option span,
.wbsf-statement-option span {
  display: block;
  min-width: 0;
}

.wbsf-check-option strong,
.wbsf-statement-option strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 880;
  letter-spacing: 0.002em;
}

.wbsf-check-option small,
.wbsf-statement-option small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.58;
  font-weight: 560;
}

/* =====================================================
   NOTE / PRIVACY / MESSAGE
===================================================== */

.wbsf-note-box,
.wbsf-privacy-box {
  margin: 0 0 22px;
  padding: 17px;
  border-radius: 18px;
}

.wbsf-note-box {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border: 1px solid rgba(0, 82, 155, 0.12);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 650;
}

.wbsf-note-box svg {
  margin-top: 3px;
  flex: 0 0 18px;
}

.wbsf-privacy-box {
  border: 1px solid rgba(0, 82, 155, 0.12);
  background: var(--primary-soft);
}

.wbsf-privacy-box h3 {
  margin: 0;
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1.42;
  font-weight: 900;
}

.wbsf-privacy-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.wbsf-message {
  display: none;
  margin: 22px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 650;
}

.wbsf-message.is-show,
.wbsf-message.show {
  display: block;
}

.wbsf-message.is-success,
.wbsf-message.success {
  color: #075e3b;
  border: 1px solid rgba(15, 167, 107, 0.22);
  background: var(--green-soft);
}

.wbsf-message.is-error,
.wbsf-message.error {
  color: var(--red-dark);
  border: 1px solid rgba(217, 45, 32, 0.2);
  background: var(--red-soft);
}

.wbsf-message.is-warning,
.wbsf-message.warning {
  color: #8a5a13;
  border: 1px solid rgba(183, 121, 31, 0.22);
  background: var(--yellow-soft);
}

/* =====================================================
   STATEMENT
===================================================== */

.wbsf-statement-list {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

/* =====================================================
   ACTIONS / BUTTONS
===================================================== */

.wbsf-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 30px;
  margin-top: 34px;
  border-top: 1px solid rgba(13, 27, 53, 0.08);
}

.wbsf-actions-between {
  justify-content: space-between;
}

.wbsf-actions-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.wbsf-btn,
.wbsf-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 15px;
  font-weight: 860;
  line-height: 1;
  letter-spacing: 0.002em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  user-select: none;
}

.wbsf-btn {
  min-height: 52px;
  padding: 14px 21px;
  font-size: 0.92rem;
}

.wbsf-btn svg,
.wbsf-copy-btn svg {
  flex: 0 0 auto;
  color: currentColor;
}

.wbsf-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 12px 26px rgba(15, 167, 107, 0.25);
}

.wbsf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 167, 107, 0.3);
}

.wbsf-btn-light,
.wbsf-btn-secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 82, 155, 0.14);
  box-shadow: 0 10px 24px rgba(16, 38, 78, 0.1);
}

.wbsf-btn-light:hover,
.wbsf-btn-secondary:hover {
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(0, 82, 155, 0.26);
  transform: translateY(-2px);
}

.wbsf-btn:disabled,
.wbsf-copy-btn:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

/* =====================================================
   RESULT PANEL
===================================================== */

.wbsf-result-panel {
  display: none;
  padding: 44px 40px 48px;
  border-top: 1px solid rgba(13, 27, 53, 0.08);
  background:
    linear-gradient(
      180deg,
      rgba(233, 255, 245, 0.76),
      rgba(255, 255, 255, 0.88)
    );
  text-align: center;
}

.wbsf-result-panel.is-show,
.wbsf-result-panel.show {
  display: block;
}

.wbsf-result-panel[hidden] {
  display: none !important;
}

.wbsf-result-icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 24px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.wbsf-result-panel h2 {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.24;
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbsf-result-panel > p {
  max-width: 650px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.76;
}

.wbsf-ticket-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px auto 0;
  max-width: 760px;
}

.wbsf-ticket-item {
  padding: 22px;
  border: 1px solid rgba(15, 167, 107, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(16, 38, 78, 0.08);
  text-align: left;
}

.wbsf-ticket-item small {
  display: block;
  color: var(--soft);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 840;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wbsf-ticket-item strong {
  display: block;
  margin-top: 9px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 920;
  word-break: break-word;
}

.wbsf-copy-btn {
  min-height: 38px;
  margin-top: 14px;
  padding: 10px 12px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgba(15, 167, 107, 0.16);
  font-size: 0.82rem;
}

.wbsf-copy-btn:hover {
  transform: translateY(-1px);
  background: #dcfceb;
}

.wbsf-result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* =====================================================
   FOOTER
===================================================== */

.wbsf-footer {
  padding: 54px 0 30px;
  border-top: 1px solid rgba(13, 27, 53, 0.08);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(247, 251, 255, 0.98)
    );
}

.wbsf-footer-top {
  margin-bottom: 28px;
}

.wbsf-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
}

.wbsf-footer-brand img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: contain !important;
  flex: 0 0 48px !important;
}

.wbsf-footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbsf-footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
  font-weight: 650;
}

.wbsf-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 64px;
  align-items: start;
}

.wbsf-footer-about h2 {
  max-width: 650px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.32;
  font-weight: 920;
  letter-spacing: 0.004em;
}

.wbsf-footer-about p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.78;
}

.wbsf-footer-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 22px;
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 0.86rem;
  font-weight: 850;
  transition:
    transform var(--transition),
    background var(--transition);
}

.wbsf-footer-site-link:hover {
  transform: translateY(-2px);
  background: #dcecff;
}

.wbsf-footer-contact-list {
  display: grid;
  gap: 14px;
}

.wbsf-contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 76px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(16, 38, 78, 0.08);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.wbsf-contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 82, 155, 0.2);
  box-shadow: 0 16px 34px rgba(16, 38, 78, 0.12);
}

.wbsf-contact-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 15px;
  color: var(--green-dark);
  background: var(--green-soft);
}

.wbsf-contact-content {
  min-width: 0;
}

.wbsf-contact-content small {
  display: block;
  color: var(--soft);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 820;
}

.wbsf-contact-content strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.4;
  font-weight: 880;
  word-break: break-word;
}

.wbsf-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(13, 27, 53, 0.09);
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.wbsf-footer-bottom p {
  margin: 0;
}

/* =====================================================
   UTILITIES / ACCESSIBILITY
===================================================== */

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(0, 82, 155, 0.28);
  outline-offset: 3px;
}

.wbsf-btn.is-pressed,
.wbsf-home-link.is-pressed,
.wbsf-status-link.is-pressed,
.wbsf-theme-toggle.is-pressed,
.wbsf-back-link.is-pressed,
.wbsf-contact-card.is-pressed,
.wbsf-footer-site-link.is-pressed,
.wbsf-copy-btn.is-pressed {
  transform: translateY(0) scale(0.98);
}

.wbsf-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.wbsf-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================
   DARK MODE VARIABLES
===================================================== */

[data-theme="dark"],
body.dark-theme {
  --primary: #6fb6ff;
  --primary-dark: #d7eaff;
  --primary-soft: rgba(111, 182, 255, 0.12);

  --green: #35d68f;
  --green-dark: #7df0bd;
  --green-soft: rgba(53, 214, 143, 0.12);

  --red: #ff7b72;
  --red-dark: #ffb4ad;
  --red-soft: rgba(255, 123, 114, 0.1);

  --yellow: #f6c96b;
  --yellow-soft: rgba(246, 201, 107, 0.11);

  --bg: #07111f;
  --bg-soft: #0b1628;
  --white: #0e1b31;

  --text: #ecf5ff;
  --muted: #b8c7de;
  --soft: #8ea3bf;

  --border: rgba(137, 163, 200, 0.18);
  --border-strong: rgba(137, 163, 200, 0.28);
}

/* =====================================================
   DARK MODE
===================================================== */

[data-theme="dark"] body,
body.dark-theme,
[data-theme="dark"] .wbsf-page,
body.dark-theme .wbsf-page {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.1), transparent 30%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 24%),
    linear-gradient(180deg, #03101f 0%, #041427 55%, #06182d 100%);
  color: #e8f1ff;
}

[data-theme="dark"] .wbsf-header,
body.dark-theme .wbsf-header {
  background: rgba(7, 17, 31, 0.86);
  border-color: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .wbsf-header.is-scrolled,
body.dark-theme .wbsf-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .wbsf-brand-text strong,
body.dark-theme .wbsf-brand-text strong {
  color: #f8fbff;
}

[data-theme="dark"] .wbsf-brand-text span,
body.dark-theme .wbsf-brand-text span {
  color: #b8c7de;
}

[data-theme="dark"] .wbsf-home-link,
[data-theme="dark"] .wbsf-theme-toggle,
body.dark-theme .wbsf-home-link,
body.dark-theme .wbsf-theme-toggle {
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbsf-home-link:hover,
[data-theme="dark"] .wbsf-theme-toggle:hover,
body.dark-theme .wbsf-home-link:hover,
body.dark-theme .wbsf-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(137, 163, 200, 0.3);
}

[data-theme="dark"] .wbsf-status-link,
[data-theme="dark"] .wbsf-btn-primary,
body.dark-theme .wbsf-status-link,
body.dark-theme .wbsf-btn-primary {
  color: #062e22;
}

[data-theme="dark"] .wbsf-hero-bg,
body.dark-theme .wbsf-hero-bg {
  opacity: 0.88;
  filter: blur(5px) saturate(0.9) brightness(0.62) contrast(1.05);
}

[data-theme="dark"] .wbsf-hero-overlay,
body.dark-theme .wbsf-hero-overlay {
  background:
    radial-gradient(
      circle at 50% 38%,
      rgba(3, 16, 31, 0.24),
      rgba(3, 16, 31, 0.42) 56%,
      rgba(3, 16, 31, 0.58) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 17, 31, 0.28) 0%,
      rgba(7, 17, 31, 0.42) 48%,
      rgba(7, 17, 31, 0.58) 100%
    );
}

[data-theme="dark"] .wbsf-hero-content,
body.dark-theme .wbsf-hero-content {
  background:
    linear-gradient(
      180deg,
      rgba(8, 24, 46, 0.62),
      rgba(7, 22, 42, 0.52)
    );
  border-color: rgba(180, 205, 235, 0.22);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .wbsf-back-link,
body.dark-theme .wbsf-back-link {
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbsf-back-link:hover,
body.dark-theme .wbsf-back-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(137, 163, 200, 0.3);
}

[data-theme="dark"] .wbsf-hero-content h1,
body.dark-theme .wbsf-hero-content h1 {
  color: #f8fbff;
}

[data-theme="dark"] .wbsf-hero-content p,
body.dark-theme .wbsf-hero-content p {
  color: #c4d3e6;
}

[data-theme="dark"] .wbsf-hero-badge,
[data-theme="dark"] .wbsf-kicker,
body.dark-theme .wbsf-hero-badge,
body.dark-theme .wbsf-kicker {
  background: rgba(110, 231, 183, 0.14);
  color: #86efac;
  border-color: rgba(110, 231, 183, 0.22);
}

[data-theme="dark"] .wbsf-info-item,
[data-theme="dark"] .wbsf-side-card,
[data-theme="dark"] .wbsf-form-card,
[data-theme="dark"] .wbsf-result-panel,
[data-theme="dark"] .wbsf-ticket-item,
[data-theme="dark"] .wbsf-contact-card,
body.dark-theme .wbsf-info-item,
body.dark-theme .wbsf-side-card,
body.dark-theme .wbsf-form-card,
body.dark-theme .wbsf-result-panel,
body.dark-theme .wbsf-ticket-item,
body.dark-theme .wbsf-contact-card {
  background:
    linear-gradient(
      180deg,
      rgba(5, 20, 39, 0.94),
      rgba(6, 22, 41, 0.9)
    );
  border-color: rgba(137, 163, 200, 0.18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .wbsf-section,
body.dark-theme .wbsf-section {
  background: transparent;
}

[data-theme="dark"] .wbsf-progress,
body.dark-theme .wbsf-progress {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(137, 163, 200, 0.14);
}

[data-theme="dark"] .wbsf-form-header,
body.dark-theme .wbsf-form-header {
  border-color: rgba(137, 163, 200, 0.14);
}

[data-theme="dark"] .wbsf-hero-content h1,
[data-theme="dark"] .wbsf-form-header h2,
[data-theme="dark"] .wbsf-side-card h2,
[data-theme="dark"] .wbsf-side-card h3,
[data-theme="dark"] .wbsf-info-item strong,
[data-theme="dark"] .wbsf-section-title h3,
[data-theme="dark"] .wbsf-field label,
[data-theme="dark"] .wbsf-fieldset legend,
[data-theme="dark"] .wbsf-check-option strong,
[data-theme="dark"] .wbsf-statement-option strong,
[data-theme="dark"] .wbsf-privacy-box h3,
[data-theme="dark"] .wbsf-result-panel h2,
[data-theme="dark"] .wbsf-ticket-item strong,
[data-theme="dark"] .wbsf-footer-brand strong,
[data-theme="dark"] .wbsf-footer-about h2,
[data-theme="dark"] .wbsf-contact-content strong,
body.dark-theme .wbsf-hero-content h1,
body.dark-theme .wbsf-form-header h2,
body.dark-theme .wbsf-side-card h2,
body.dark-theme .wbsf-side-card h3,
body.dark-theme .wbsf-info-item strong,
body.dark-theme .wbsf-section-title h3,
body.dark-theme .wbsf-field label,
body.dark-theme .wbsf-fieldset legend,
body.dark-theme .wbsf-check-option strong,
body.dark-theme .wbsf-statement-option strong,
body.dark-theme .wbsf-privacy-box h3,
body.dark-theme .wbsf-result-panel h2,
body.dark-theme .wbsf-ticket-item strong,
body.dark-theme .wbsf-footer-brand strong,
body.dark-theme .wbsf-footer-about h2,
body.dark-theme .wbsf-contact-content strong {
  color: #f8fbff;
}

[data-theme="dark"] .wbsf-form-header p,
[data-theme="dark"] .wbsf-side-card p,
[data-theme="dark"] .wbsf-check-list li,
[data-theme="dark"] .wbsf-info-item span,
[data-theme="dark"] .wbsf-section-title p,
[data-theme="dark"] .wbsf-help,
[data-theme="dark"] .wbsf-check-option small,
[data-theme="dark"] .wbsf-statement-option small,
[data-theme="dark"] .wbsf-counter,
[data-theme="dark"] .wbsf-privacy-box p,
[data-theme="dark"] .wbsf-result-panel > p,
[data-theme="dark"] .wbsf-ticket-item small,
[data-theme="dark"] .wbsf-footer-brand span,
[data-theme="dark"] .wbsf-footer-about p,
[data-theme="dark"] .wbsf-contact-content small,
[data-theme="dark"] .wbsf-footer-bottom,
body.dark-theme .wbsf-form-header p,
body.dark-theme .wbsf-side-card p,
body.dark-theme .wbsf-check-list li,
body.dark-theme .wbsf-info-item span,
body.dark-theme .wbsf-section-title p,
body.dark-theme .wbsf-help,
body.dark-theme .wbsf-check-option small,
body.dark-theme .wbsf-statement-option small,
body.dark-theme .wbsf-counter,
body.dark-theme .wbsf-privacy-box p,
body.dark-theme .wbsf-result-panel > p,
body.dark-theme .wbsf-ticket-item small,
body.dark-theme .wbsf-footer-brand span,
body.dark-theme .wbsf-footer-about p,
body.dark-theme .wbsf-contact-content small,
body.dark-theme .wbsf-footer-bottom {
  color: #b8c7de;
}

[data-theme="dark"] .wbsf-info-svg,
[data-theme="dark"] .wbsf-side-icon,
[data-theme="dark"] .wbsf-result-icon,
[data-theme="dark"] .wbsf-contact-icon,
body.dark-theme .wbsf-info-svg,
body.dark-theme .wbsf-side-icon,
body.dark-theme .wbsf-result-icon,
body.dark-theme .wbsf-contact-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.14);
}

[data-theme="dark"] .wbsf-input-wrap input,
[data-theme="dark"] .wbsf-form textarea,
body.dark-theme .wbsf-input-wrap input,
body.dark-theme .wbsf-form textarea {
  background: rgba(255, 255, 255, 0.05);
  color: #f8fbff;
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbsf-input-wrap input::placeholder,
[data-theme="dark"] .wbsf-form textarea::placeholder,
body.dark-theme .wbsf-input-wrap input::placeholder,
body.dark-theme .wbsf-form textarea::placeholder {
  color: #8ea3bf;
}

[data-theme="dark"] .wbsf-check-option,
[data-theme="dark"] .wbsf-statement-option,
body.dark-theme .wbsf-check-option,
body.dark-theme .wbsf-statement-option {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbsf-note-box,
[data-theme="dark"] .wbsf-privacy-box,
body.dark-theme .wbsf-note-box,
body.dark-theme .wbsf-privacy-box {
  color: #d7eaff;
  background: rgba(111, 182, 255, 0.1);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbsf-btn-light,
[data-theme="dark"] .wbsf-btn-secondary,
body.dark-theme .wbsf-btn-light,
body.dark-theme .wbsf-btn-secondary {
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(137, 163, 200, 0.18);
}

[data-theme="dark"] .wbsf-footer,
body.dark-theme .wbsf-footer {
  background:
    linear-gradient(
      180deg,
      rgba(4, 17, 34, 0.96),
      rgba(5, 20, 40, 0.96)
    );
  border-color: rgba(137, 163, 200, 0.14);
}

[data-theme="dark"] .wbsf-footer-site-link,
body.dark-theme .wbsf-footer-site-link {
  color: #d7eaff;
  background: rgba(111, 182, 255, 0.12);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1120px) {
  .wbsf-header-container {
    gap: 16px;
  }

  .wbsf-brand-text span {
    max-width: 320px;
  }

  .wbsf-home-link span {
    display: none;
  }

  .wbsf-home-link {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .wbsf-layout {
    grid-template-columns: 1fr;
  }

  .wbsf-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .wbsf-sidebar {
    grid-template-columns: 1fr;
  }

  .wbsf-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .wbsf-hero-info,
  .wbsf-checkbox-grid,
  .wbsf-ticket-card {
    grid-template-columns: 1fr;
  }

  .wbsf-progress {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wbsf-progress-line {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .wbsf-header-container,
  .wbsf-container,
  .wbsf-footer-container {
    width: min(100% - 30px, var(--container));
  }

  .wbsf-brand-logo {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    flex-basis: 40px !important;
  }

  .wbsf-brand-text strong {
    font-size: 0.88rem;
  }

  .wbsf-brand-text span {
    max-width: 230px;
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .wbsf-status-link span {
    display: none;
  }

  .wbsf-status-link {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .wbsf-hero {
    min-height: auto;
    padding: 42px 15px 58px;
  }

  .wbsf-hero-content {
    padding: 30px 20px;
    border-radius: 26px;
  }

  .wbsf-hero-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .wbsf-back-link {
    width: 100%;
  }

  .wbsf-hero-content h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.16;
    letter-spacing: 0.002em;
  }

  .wbsf-hero-content p {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.78;
  }

  .wbsf-section {
    padding: 58px 0 68px;
  }

  .wbsf-form-header,
  .wbsf-progress,
  .wbsf-form,
  .wbsf-result-panel {
    padding-left: 22px;
    padding-right: 22px;
  }

  .wbsf-form-header {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  .wbsf-form-header h2,
  .wbsf-result-panel h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.26;
  }

  .wbsf-grid-2 {
    grid-template-columns: 1fr;
  }

  .wbsf-section-title {
    flex-direction: column;
  }

  .wbsf-actions,
  .wbsf-actions-between,
  .wbsf-actions-right,
  .wbsf-result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wbsf-btn,
  .wbsf-actions-right {
    width: 100%;
  }

  .wbsf-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .wbsf-header-container,
  .wbsf-container,
  .wbsf-footer-container {
    width: min(100% - 24px, var(--container));
  }

  .wbsf-brand-text span {
    max-width: 160px;
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .wbsf-hero-content {
    padding: 26px 16px;
    border-radius: 22px;
  }

  .wbsf-hero-content h1 {
    font-size: 1.95rem;
  }

  .wbsf-form-card {
    border-radius: 24px;
  }

  .wbsf-form-header,
  .wbsf-progress,
  .wbsf-form,
  .wbsf-result-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .wbsf-side-card {
    padding: 18px;
  }

  .wbsf-check-option,
  .wbsf-statement-option,
  .wbsf-ticket-item {
    padding: 16px;
  }

  .wbsf-footer-brand {
    align-items: flex-start;
  }

  .wbsf-footer-brand img {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex-basis: 44px !important;
  }

  .wbsf-contact-card {
    align-items: flex-start;
  }
}