.car-estimator-container {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #f4f4f4;
  border-radius: 8px;
}

.car-estimator-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

.car-estimator-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.car-estimator-form label {
  display: block;
  margin-bottom: 15px;
}

.car-estimator-form select,
.car-estimator-form button {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.car-estimator-form button {
  background: #2aa0c7;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
}

.car-estimator-form button:hover {
  transition: background 0.2s ease-out;
  opacity: 0.8;
}

.car-estimator-result {
  margin-top: 20px;
  font-size: 18px;
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-text {
  margin-top: 20px;
  padding: 8px;
  font-size: 16px;
  font-style: italic;
  text-align: center;
}

.form-button {
  display: flex;
  justify-content: center;
}

.vikup-button {
  padding: 10px 30px;
  background: #2aa0c7;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 40px;
}

.vikup-button:hover {
  opacity: 0.8;
}

.form-button a {
  text-decoration: none;
  color: #fff;
}

/* Стили для админки */
.car-estimator-admin textarea {
  width: 100%;
  height: 200px;
  padding: 10px;
  font-family: monospace;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.car-estimator-admin button {
  margin-top: 15px;
  background: #2271b1;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.car-estimator-admin .success {
  margin: 15px 0;
  padding: 10px;
  background: #d7ffd7;
  border: 1px solid #5cb85c;
  color: #2b662b;
}

/* Дополнительные стили для интеграции с темой */
.calculator .car-estimator-form {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.calculator .car-estimator-form label {
  margin-bottom: 10px;
}

.calculator .car-estimator-form select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background: white;
  font-size: 16px;
  transition: border-color 0.3s;
}

.calculator .car-estimator-form select:focus {
  outline: none;
  border-color: #667eea;
}

.calculator .car-estimator-result {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-top: 0;
  color: #111827;
}

/* Стили для мессенджеров */
.messengers-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.messengers-links__wrapper {
  flex: 1;
}

.messengers-links__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.messengers-links__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  transition: all 0.3s;
}

.messengers-links__inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.messengers-links__img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.messengers-links__inner p {
  margin: 0;
  font-size: 12px;
  text-align: center;
  color: #6c757d;
}

/* Стиль для текста результата оценки */
#result {
  color: #111827 !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}

.calculator__ai-content #result {
  color: #111827 !important;
}

@media (max-width: 768px) {
  .messengers-links {
    flex-direction: column;
  }
}
