table.form-table tr:first-of-type {
    border-top: none;
}

table.form-table tr:first-of-type td,
table.form-table tr:first-of-type th {
    border-top: none;
}

.bottone {
    background-color: #06c;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.risultato-warn {
    display: flex;
    align-items: center;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #856404;
    border-radius: 5px;
    padding: 15px;
    max-width: 500px;
    margin: 10px;
}

.risultato-warn-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #ffc107;
}

.risultato-warn-message {
    font-size: 16px;
}

.risultato-errore {
    display: flex;
    align-items: center;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 15px;
    max-width: 500px;
    margin: 10px;
}

.risultato-errore-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #d9364f;
}

.risultato-errore-message {
    font-size: 16px;
}

.risultato-successo {
    display: flex;
    align-items: center;
    background-color: #d4edda;
    color: #008758;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 15px;
    max-width: 500px;
    margin: 10px;
}

.risultato-successo-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #008758;
}

.risultato-successo-message {
    font-size: 16px;
}

/*START filtri comunicazione massiva */
.cm-form { margin: 10px; }

.cm-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  margin: 10px 0;
}

.cm-field {
  min-width: 220px;
  flex: 1 1 220px;
}

.cm-title {
  flex: 2 1 360px;
}

.cm-age {
  flex: 0 1 120px;
}

.cm-age-group {
  display: flex;
  flex-wrap: wrap;   
  gap: 20px;      
  min-width: 260px;    
}

.cm-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.cm-field input[type="text"],
.cm-field input[type="number"],
.cm-field select,
.cm-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 6px 10px;
}

.cm-field textarea { min-height: 180px; }

.cm-error { color: red; font-size: 14px; display: block; margin: 6px 0; }

.cm-actions { margin: 10px 0; }

@media (max-width: 480px) {
  .cm-actions .button { width: 100%; }
}
