.whp-wcama {
  margin: 10px 0 16px;
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
}

.whp-wcama__toggle,
.whp-wcama__sync,
.whp-wcama__expand,
.whp-wcama__geo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #101828;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.whp-wcama__panel {
  display: none;
  margin-top: 10px;
}

.whp-wcama__panel.is-open {
  display: block;
}

.whp-wcama__help {
  margin: 0 0 8px;
  font-size: 13px;
  color: #475467;
}

.whp-wcama__search {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.whp-wcama__map-wrap {
  position: relative;
}

.whp-wcama__status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: #344054;
  max-width: calc(100% - 20px);
}

.whp-wcama__map {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f4f7;
}

@media (max-width: 480px) {
  .whp-wcama {
    padding: 10px;
  }

  .whp-wcama__map {
    height: 220px;
  }
}

.whp-wcama__drag-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: #667085;
}

.whp-wcama__selected {
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px dashed #d0d5dd;
  border-radius: 12px;
  background: #f8fafc;
}

.whp-wcama__selected.has-value {
  border-style: solid;
}

.whp-wcama__selected-label {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #667085;
}

.whp-wcama__selected-value {
  font-size: 13px;
  line-height: 1.4;
  color: #101828;
}

.pac-container {
  z-index: 999999 !important;
  border-radius: 12px;
  border: 1px solid #d0d5dd;
  box-shadow: 0 10px 24px rgba(16,24,40,.12);
  overflow: hidden;
}

.pac-item {
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
}

.pac-item:hover,
.pac-item-selected {
  background: #f8fafc;
}

.whp-wcama__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

body.whp-wcama-map-expanded {
  overflow: hidden;
}

.whp-wcama__panel.is-expanded {
  position: fixed;
  inset: 16px;
  z-index: 999999;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.20);
  padding: 14px;
  overflow: auto;
}

.whp-wcama__panel.is-expanded::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.34);
  z-index: -1;
}

.whp-wcama__panel.is-expanded .whp-wcama__map {
  height: min(74vh, 820px);
}

@media (max-width: 782px) {
  .whp-wcama__panel.is-expanded {
    inset: 8px;
    padding: 10px;
    border-radius: 14px;
  }

  .whp-wcama__panel.is-expanded .whp-wcama__map {
    height: min(68vh, 640px);
  }

  .whp-wcama__actions {
    flex-direction: column;
  }

  .whp-wcama__sync,
  .whp-wcama__expand,
  .whp-wcama__geo {
    width: 100%;
  }
}
