
    /* ==========================================================
   STILE GLOBALE CONTROLLI FORM
   TextBox, Select, Checkbox, RadioButton
   Compatibile con pagine ASPX legacy
        20260618
   ========================================================== */

/* Textbox e select */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select {
    min-height: 30px;
    padding: 4px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1f2937;
    font-family: Segoe UI, Arial, Helvetica, sans-serif;
    font-size: 13px;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

/* Focus */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2f80ed;
    box-shadow: 0 0 0 3px rgba(47,128,237,.15);
}

/* Disabled */
input:disabled,
textarea:disabled,
select:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

/* Checkbox e radio */
input[type="checkbox"],
input[type="radio"] {
    width: 15px;
    height: 15px;
    margin-right: 5px;
    vertical-align: middle;
    cursor: pointer;
    accent-color: #2f80ed;
}

/* Label vicine a checkbox/radio */
input[type="checkbox"] + label,
input[type="radio"] + label {
    cursor: pointer;
}

/* Select */
select {
    cursor: pointer;
}

/* Textarea */
textarea {
    min-height: 70px;
    resize: vertical;
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}
