@charset "UTF-8";
.ls-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.ls-modal-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 90%;
  animation: modalFadeIn 0.2s ease-out;
}
@media (max-width: 576px) {
  .ls-modal-container {
    width: 95%;
    padding: 15px;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ls-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.ls-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.ls-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: 0;
  color: #888;
  transition: color 0.2s;
}
.ls-modal-close:hover {
  color: #333;
}
.ls-modal-close .dashicons {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.ls-modal-body {
  margin-bottom: 20px;
}

.ls-modal-text {
  margin-bottom: 15px;
  color: #555;
  font-size: 1rem;
}

.ls-city-select-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.ls-city-search {
  position: relative;
}
.ls-city-search .ls-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none;
}

.ls-city-search-input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ls-city-search-input:focus {
  outline: none;
  border-color: #ff7a00;
  box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.3);
}

.ls-city-dropdown {
  position: relative;
  margin-top: 10px;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ls-city-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  /* Стилизация скроллбара для WebKit браузеров */
}
.ls-city-list::-webkit-scrollbar {
  width: 8px;
}
.ls-city-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.ls-city-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
.ls-city-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.ls-city-item {
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.ls-city-item:hover {
  background-color: rgba(255, 122, 0, 0.05);
}
.ls-city-item.ls-city-item-selected {
  background-color: rgba(255, 122, 0, 0.15);
  border-left: 3px solid #ff7a00;
  padding-left: 12px;
  font-weight: bold;
}

.ls-city-empty {
  padding: 15px;
  text-align: center;
  color: #888;
}
.ls-city-empty p {
  margin: 0;
}

.ls-selected-city {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8f8f8;
  border-radius: 6px;
}
.ls-selected-city p {
  margin: 0;
  color: #555;
}
.ls-selected-city strong {
  color: #333;
}

.ls-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.ls-button-cancel,
.ls-button-confirm {
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.1s;
}
.ls-button-cancel:hover,
.ls-button-confirm:hover {
  transform: translateY(-1px);
}
.ls-button-cancel:active,
.ls-button-confirm:active {
  transform: translateY(0);
}

.ls-button-cancel {
  background-color: #f1f1f1;
  color: #555;
}
.ls-button-cancel:hover {
  background-color: #e5e5e5;
}

.ls-button-confirm {
  background-color: #ff7a00;
  color: white;
}
.ls-button-confirm:hover {
  background-color: #e86e00;
}
.ls-button-confirm:disabled {
  background-color: rgba(255, 122, 0, 0.5);
  cursor: not-allowed;
  transform: none;
}

[x-cloak] {
  display: none !important;
}

/*# sourceMappingURL=local-service-modal.css.map */
