/* Base styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7f9;
  color: #333;
  margin: 40px;
}

h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
}

form {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0 auto;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
}

input[type="text"],
select {
  padding: 8px;
  margin-top: 5px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="checkbox"] {
  margin-right: 8px;
}

label[for="smart"] {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

#sendBtn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

#sendBtn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
}

#sendBtn:hover:enabled {
  background-color: #218838;
}

#status {
  margin-top: 20px;
  font-weight: bold;
  color: #e74c3c;
  text-align: center;
}

#infoBloc {
  margin: 30px auto 0;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  font-size: 14px;
  line-height: 1.6;
}

#infoBloc h3 {
  margin-top: 0;
  color: #2c3e50;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
  body {
    margin: 20px;
  }

  form,
  #infoBloc {
    max-width: 100%;
    padding: 15px;
  }

  button,
  #sendBtn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }

  input[type="text"],
  select {
    font-size: 16px;
  }

  #status {
    font-size: 16px;
  }

  #infoBloc {
    max-height: 250px;
    font-size: 15px;
  }
}

