:root {
  --szb-blue-900: #06245a;
  --szb-blue-800: #083a83;
  --szb-blue-700: #075bc7;
  --szb-blue-600: #0872d8;
  --szb-blue-500: #0b8be6;
  --szb-text: #071a42;
  --szb-muted: #5d6b86;
  --szb-border: #dbe5f2;
  --szb-bg: #f4f9ff;
  --szb-card: rgba(255, 255, 255, 0.94);
  --szb-shadow: 0 18px 50px rgba(8, 58, 131, 0.1);
  --szb-radius: 16px;
  --szb-radius-sm: 10px;
}

.szb-body {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--szb-text);
  background:
    radial-gradient(circle at 12% 5%, rgba(11, 139, 230, 0.14), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(11, 139, 230, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, var(--szb-bg) 100%);
}

.szb-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--szb-border);
  backdrop-filter: blur(16px);
}

.szb-brand {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 800;
  color: var(--szb-blue-800);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.szb-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.szb-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--szb-border);
  border-radius: 999px;
  background: #fff;
  color: var(--szb-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.szb-lang-btn:hover,
.szb-lang-btn:focus {
  color: var(--szb-blue-800);
  border-color: rgba(8, 114, 216, 0.35);
  background: #f7fbff;
}

.szb-main {
  padding: clamp(16px, 3vw, 32px) clamp(12px, 2.5vw, 24px) 48px;
}

.szb-page {
  width: min(820px, 100%);
  margin: 0 auto;
}

.szb-hero {
  margin-bottom: 20px;
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid var(--szb-border);
  border-radius: var(--szb-radius);
  background:
    linear-gradient(105deg, rgba(8, 114, 216, 0.08) 0%, rgba(255, 255, 255, 0.96) 55%, rgba(11, 139, 230, 0.06) 100%);
  box-shadow: var(--szb-shadow);
}

.szb-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--szb-blue-800);
  line-height: 1.2;
}

.szb-hero p {
  margin: 0;
  color: var(--szb-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.szb-form-card {
  border: 1px solid var(--szb-border);
  border-radius: var(--szb-radius);
  background: var(--szb-card);
  box-shadow: var(--szb-shadow);
  overflow: hidden;
}

.szb-form-card .card-body {
  padding: clamp(18px, 3vw, 28px);
}

.szb-section {
  margin-bottom: 24px;
}

.szb-section:last-of-type {
  margin-bottom: 0;
}

.szb-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--szb-border);
}

.szb-section-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--szb-blue-500), var(--szb-blue-900));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.szb-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--szb-blue-800);
}

.szb-form-card .form-label,
.szb-form-card label:not(.form-check-label) {
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--szb-text);
}

.szb-form-card .form-control,
.szb-form-card .form-select {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--szb-border);
  border-radius: var(--szb-radius-sm);
  background-color: #fff;
  color: var(--szb-text);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.szb-form-card .form-select {
  padding-right: 2.25rem;
}

.szb-form-card .was-validated .form-select:valid,
.szb-form-card .was-validated .form-select:invalid,
.szb-form-card .form-select.is-valid,
.szb-form-card .form-select.is-invalid {
  background-repeat: no-repeat;
}

.szb-form-card .form-control-sm {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.9rem;
}

.szb-form-card .form-control:focus,
.szb-form-card .form-select:focus {
  border-color: rgba(8, 114, 216, 0.55);
  box-shadow: 0 0 0 4px rgba(11, 139, 230, 0.12);
}

.szb-form-card textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.szb-form-card .form-group,
.szb-form-card .mb-field {
  margin-bottom: 14px;
}

.szb-address-search label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.szb-address-grid .form-control-sm::placeholder {
  color: #8a97ad;
  font-size: 0.82rem;
}

.szb-coords,
.szb-address-hidden {
  display: none;
}

.szb-images-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.szb-images-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--szb-blue-800);
}

.szb-btn-add-image {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px dashed rgba(8, 114, 216, 0.45);
  border-radius: var(--szb-radius-sm);
  background: #f7fbff;
  color: var(--szb-blue-800);
  font-weight: 600;
  cursor: pointer;
}

.szb-btn-add-image:hover {
  background: #eef6ff;
  border-color: var(--szb-blue-600);
}

.szb-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.szb-image-grid .card {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid var(--szb-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

.szb-image-grid .card-img-top {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.szb-policy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.szb-policy-row .icheck-primary {
  flex: 1 1 240px;
}

.szb-policy-row .icheck-primary label {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--szb-text);
  cursor: pointer;
}

.szb-policy-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: var(--szb-blue-600);
}

.szb-policy-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--szb-blue-700);
  text-decoration: none;
  white-space: nowrap;
}

.szb-policy-link:hover {
  text-decoration: underline;
}

.szb-policy-card {
  margin-top: 12px;
  border: 1px solid var(--szb-border) !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.szb-submit-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
}

.szb-submit-row .btn-primary {
  min-width: 160px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--szb-blue-500), var(--szb-blue-900));
  box-shadow: 0 10px 24px rgba(8, 91, 199, 0.22);
}

.szb-submit-row .btn-primary:hover:not(:disabled) {
  filter: brightness(1.05);
}

.szb-submit-row .btn-primary:disabled {
  opacity: 0.55;
  box-shadow: none;
}

.szb-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  width: min(820px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 32px;
  color: var(--szb-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  border-top: 1px solid var(--szb-border);
}

.szb-footer img {
  height: 26px;
  width: auto;
}

.szb-footer a {
  color: var(--szb-blue-800);
  font-weight: 600;
  text-decoration: none;
}

.szb-footer a:hover {
  text-decoration: underline;
}

.szb-form-card .dropdown-menu {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--szb-border);
  border-radius: 12px;
  box-shadow: var(--szb-shadow);
}

.szb-form-card .dropdown-item {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.szb-form-card .dropdown-item.active,
.szb-form-card .dropdown-item:hover {
  background: #eef6ff;
  color: var(--szb-blue-900);
}

.szb-form-card .modal-content {
  border: 0;
  border-radius: var(--szb-radius);
  box-shadow: var(--szb-shadow);
}

.szb-form-card .modal-header {
  border-bottom: 1px solid var(--szb-border);
  background: #f7fbff;
}

.szb-form-card .alert {
  border-radius: 12px;
  font-size: 0.9rem;
}

.grecaptcha-badge {
  z-index: 2000;
}

@media (max-width: 767.98px) {
  .szb-topbar {
    padding: 12px 14px;
  }

  .szb-main {
    padding-top: 12px;
  }

  .szb-hero {
    padding: 18px;
  }

  .szb-form-card .card-body {
    padding: 16px;
  }

  .szb-section-head h2 {
    font-size: 1rem;
  }

  .szb-submit-row {
    justify-content: stretch;
  }

  .szb-submit-row .btn-primary {
    width: 100%;
    min-width: 0;
  }

  .szb-policy-link {
    white-space: normal;
  }

  .szb-footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .szb-address-grid .col-md-2,
  .szb-address-grid .col-md-3,
  .szb-address-grid .col-md-4 {
    margin-bottom: 0;
  }
}
