.voq-wrap {
  --voq-bg: #ffffff;
  --voq-ink: #0b1220;
  --voq-muted: #6b7280;
  --voq-border: #4654A3;
  --voq-brand: #270949;
  --voq-accent: #EB5372;
  --voq-ring: rgba(39, 9, 73, 0.20);
  --voq-field: #f6f7fb;
  --voq-ok: #16a34a;
  --voq-err: #b91c1c;
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 14px;
  background: var(--voq-bg);
  color: var(--voq-ink);
  font: 16px/1.5 Inter, Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.voq-wrap * {
  box-sizing: border-box;
}

.voq-brandbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.voq-brandbar img {
  height: 26px;
}

.voq-title {
  font: 800 18px/1.2 Manrope, Inter, sans-serif;
  color: var(--voq-brand);
}

.voq-card {
  background: #fff;
  border: 1.5px solid var(--voq-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 26px rgba(2, 6, 23, 0.06);
  position: relative;
}

.voq-stack {
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 12px;
}

.voq-wrap label {
  display: block;
  font-size: 13px;
  color: #111827;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}

.voq-input,
.voq-select,
.voq-textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--voq-border);
  border-radius: 12px;
  background: var(--voq-field);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
  min-height: 48px;
  color: var(--voq-ink);
}

.voq-input:hover,
.voq-select:hover,
.voq-textarea:hover {
  border-color: #2f3e92;
}

.voq-input:focus,
.voq-select:focus,
.voq-textarea:focus {
  border-color: var(--voq-brand);
  box-shadow: 0 0 0 4px var(--voq-ring);
  background: #fff;
}

.voq-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

@media (max-width: 900px) {
  .voq-row-2 {
    grid-template-columns: 1fr;
  }
}

.voq-map {
  width: 100%;
  height: 380px;
  border-radius: 14px;
  border: 1.5px solid var(--voq-border);
  background: #eef1f6;
  overflow: hidden;
  position: relative;
}

.voq-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 500;
}

.voq-map-overlay.visible {
  pointer-events: auto;
  opacity: 1;
}

.voq-map-overlay-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.voq-spinner {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.voq-spinner-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid rgba(39, 9, 73, 0.18);
  border-top-color: var(--voq-brand);
  animation: voq-spin 0.9s linear infinite;
  box-shadow: 0 6px 18px rgba(39, 9, 73, 0.08);
}

.voq-spinner-txt {
  font-weight: 700;
  color: var(--voq-brand);
  font-size: 13px;
}

@keyframes voq-spin {
  to {
    transform: rotate(360deg);
  }
}

.voq-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.voq-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--voq-brand);
}

.voq-check-label {
  margin: 0;
  font-weight: 500;
}

.voq-check a {
  color: var(--voq-brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(39, 9, 73, 0.25);
}

.voq-check a:hover {
  color: var(--voq-accent);
  border-bottom-color: var(--voq-accent);
}

.voq-btn {
  appearance: none;
  border: 0;
  background: var(--voq-brand);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  font: 700 16px/1 Manrope, Inter, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(39, 9, 73, 0.35);
  display: block;
  margin: 8px auto 0 auto;
  min-width: 220px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.voq-btn:hover {
  filter: brightness(1.05);
}

.voq-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}

.voq-btn.loading {
  color: transparent;
}

.voq-btn.loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  margin-left: -10px;
  margin-top: -10px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: voq-spin 0.8s linear infinite;
}

.voq-sub {
  color: var(--voq-muted);
  font-size: 12px;
  text-align: center;
}

.voq-error {
  color: var(--voq-err);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.voq-sentinfo {
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
  min-height: 20px;
}

.voq-sentinfo.ok {
  color: var(--voq-ok);
  font-weight: 700;
}

.voq-sentinfo.err {
  color: var(--voq-err);
  font-weight: 700;
}

.voq-card.locked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(1.5px);
  border-radius: 16px;
}

.voq-contact-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
}

@media (max-width: 700px) {
  .voq-contact-row {
    grid-template-columns: 1fr;
  }
}

.voq-field-hint {
  font-size: 12px;
  color: var(--voq-err);
  margin-top: 6px;
  display: none;
}

.voq-input.invalid + .voq-field-hint {
  display: block;
}

.voq-ac-wrap {
  position: relative;
}

.voq-ac-list {
  position: absolute;
  z-index: 9999;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1.5px solid var(--voq-border);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.10);
  overflow: hidden;
  display: none;
  max-height: 320px;
  overflow-y: auto;
}

.voq-ac-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
  border-top: 1px solid rgba(70, 84, 163, 0.18);
  background: #fff;
}

.voq-ac-item:first-child {
  border-top: 0;
}

.voq-ac-item:hover {
  background: #f4f6ff;
}

.voq-ac-muted {
  color: var(--voq-muted);
  font-size: 12px;
  margin-top: 2px;
}

.custom-pin svg {
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}
