/* Стили для формы клиента */

/* Стили для списка предложений улиц */
.suggestions {
  border: 1px solid #ccc;
  max-height: 180px;
  overflow-y: auto;
  position: absolute;
  background-color: white;
  z-index: 1000 !important;
  border-radius: 4px;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: none;
}

.suggestions:not(:empty) {
  display: block; /* Показывается только когда есть содержимое */
}

.suggestion-item {
  padding: 10px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  font-size: 0.9rem !important;
  width: 100% !important;
}

.suggestion-item:hover {
  background-color: #f0f0f0 !important;
}

/* Стили для сетки формы */
.grid-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}

.left-section, .right-section {
  padding: 10px !important;
  min-width: 360px !important;
}

/* Стили для отступов */
.gap-10 {
  gap: 10px !important;
}

/* Стили для формы клиента */
.client-form {
  position: relative !important;
  padding: 20px !important;
  background-color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

/* Стили для ошибок валидации */
.error-alert {
  width: 100% !important;
  margin-bottom: 20px !important;
  padding: 10px 15px !important;
  border-radius: 5px !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
}

/* Стили для телефонов */
.phone-group {
  margin-bottom: 10px !important;
  transition: all 0.3s ease !important;
}

.phone-label-container {
  margin-bottom: 5px !important;
}

.phone-number-input, .phone-type-input {
  border-radius: 4px !important;
}

.remove-phone {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.375rem 0.5rem !important;
}

.remove-phone i {
  font-size: 0.8rem !important;
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .left-section, .right-section {
    min-width: 100% !important;
    padding: 5px !important;
  }
  
  .form-group {
    margin-bottom: 10px !important;
  }
} 