/*
Theme Name: adigi
Theme URI: https://www.comeaiutare.it/
Author: ADiGi
Author URI: https://www.adigi.it/
Description: Tema Child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html 
Template: hello-elementor
Version: 0.1.0
 */

 .woocommerce-billing-fields #categorie_associazioni option {
    color: #000;
 }

.elementor-widget-woocommerce-checkout-page .woocommerce #customer_details .form-row .input-text:read-only{
   background-color: #ffffff88 !important;
   color: #F8B60D !important;
   pointer-events: none;
 }

 /* ===== WRAPPER ===== */
.form-associazione-light {
  max-width: 720px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-family: inherit;
}

/* Titolo full width */
.form-associazione-light input[name="titolo"],
.form-associazione-light #map{
  grid-column: span 2;
}

/* ===== INPUT ===== */
.form-associazione-light input,
.form-associazione-light select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  transition: all 0.25s ease;
  background: #fff;
}

.form-associazione-light input:focus,
.form-associazione-light select:focus {
  border-color: #f8b50d27 !important;
  box-shadow: 0 0 0 3px #f8b50d27;
  outline: none;
}

/* Placeholder */
.form-associazione-light ::placeholder {
  color: #aaa;
}

/* ===== SELECT ===== */
.form-associazione-light select::picker(select) {
   color: #000;
   background-color: #fff;
   border-radius: 3px;
   border: 1px solid #666;
   transition: 0.25s;
}

.form-associazione-light select option{
   transition: 0.25s;
}

.form-associazione-light select option:last-child{
   border-radius: 0 0 3px 3px;
}

.form-associazione-light select option:hover{
   color: #fff;
   background-color: #F8B60D;
}

/* ===== BUTTON ===== */
.form-associazione-light button {
  grid-column: span 2;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid #F8B60D;
  background: #F8B60D;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
}

.form-associazione-light button:hover {
  background: #fff;
  color: #F8B60D;
  transform: translateY(-1px);
}

/* ===== MOBILE ===== */
@media (max-width: 700px) {
  .form-associazione-light {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .form-associazione-light input[name="titolo"],
  .form-associazione-light button,
  .form-associazione-light .info {
    grid-column: span 1;
  }
}

/* ===== EXTRA SMALL ===== */
@media (max-width: 420px) {
  .form-associazione-light input,
  .form-associazione-light select {
    padding: 10px;
    font-size: 14px;
  }

  .form-associazione-light button {
    padding: 12px;
    font-size: 15px;
  }
}
