/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Form elements - bordi sempre visibili */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="search"],
select,
textarea {
  border: 1px solid #d1d5db !important; /* gray-300 */
  background-color: #fff !important;
}

/* Bordi più leggeri per pulsanti */
button.border-gray-400,
a.border-gray-400,
input[type="submit"].border-gray-400,
.border-gray-400 {
  border-color: #d1d5db !important; /* gray-300 */
}

/* Padding uniforme per text inputs (come le select) */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="search"],
textarea {
  padding: 0.5rem 0.75rem !important; /* py-2 px-3 */
}

/* Focus state - bordo blu ma non troppo forte */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
  border-color: #60a5fa !important; /* blue-400 - più leggero */
  box-shadow: 0 0 0 1px #60a5fa !important;
  outline: none !important;
}
