/* @import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
*/

/* This file is for your main application CSS */

/* Impostazioni generali */

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 1rem;
  color: #343a40;
}

h1, h2, h3 {
  color: #212529;
}

/* Container del form */

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Stili generali per i gruppi del form */

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
  .form-group textarea,
  .form-group select {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

.form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
  border-color: #80bdff;
  outline: none;
}

/* Pulsanti */

button,
  input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover,
  input[type="submit"]:hover {
  background-color: #0056b3;
}

/* Custom Toggle Object Field */

.toggle-object-field {
  margin-bottom: 1.25rem;
}

.toggle-object-field button {
  background-color: #28a745;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.95rem;
}

.toggle-object-field button:hover {
  background-color: #218838;
}

.toggle-object-fields {
  padding: 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #f1f3f5;
  margin-top: 0.75rem;
}

/* Stili per errori e descrizioni */

.field-error {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.field-description {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.25rem;
}
  