.wpcf7-form-control-wrap input[name^="yandex_address"]:not([type="hidden"]) {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.wpcf7-form-control-wrap input[name^="yandex_address"]:not([type="hidden"]):focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.wpcf7-form-control-wrap input[name^="yandex_address"].wpcf7-not-valid {
  border-color: #dc3545;
}

.yandex-address-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  width: 100%;
  height:250px;
  @media (max-width: 767px) {
    height:150px;
  }
}

.ymaps-2-1-79-suggest {
  z-index: 9999 !important;
}

.ymaps-2-1-79-suggest-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

.ymaps-2-1-79-suggest-item:hover {
  background-color: #f5f5f5;
}

/* Add styles for custom suggestions dropdown */
.yandex-address-suggestions {
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-height: 250px;
  overflow-y: auto;
  z-index: 9999;
  position: relative;
  display: none;
}

.yandex-address-suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.yandex-address-suggestion-item:last-child {
  border-bottom: none;
}

.yandex-address-suggestion-item:hover {
  background-color: #f5f5f5;
}

.yandex-address-suggestion-item:active {
  background-color: #e8f0fe;
}
