
.tableRicerca {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.thRicerca {
    background: #2c3e50;
    color: white;
    padding: 12px;
    text-align: left;
}

.tdRicerca {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.trRicerca:hover {
    background: #f1f1f1;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

th {
    background: #2c3e50;
    color: white;
    padding: 12px;
    text-align: left;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
	max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

tr:hover {
    background: #f1f1f1;
}

.action-btn {
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
}
.stile {
	color: black;
	margin-top: 0px;
	font-family: Arial;
	line-height:0;
}

.select-modern {
    width: 250px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    font-size: 15px;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><polygon points='0,0 20,0 10,10'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.select-modern:focus {
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0,123,255,0.4);
    outline: none;
}

.input-modern {
    width: 260px;
    padding: 10px 12px;
    font-size: 15px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: 0.25s;
}
.email-responsive {
    width: 100%;
    max-width: 500px;   /* opzionale: limite massimo */
    box-sizing: border-box; /* evita che padding allarghi troppo */
}
.input-modernTitoloImage {
    width: 800px;
    padding: 10px 12px;
    font-size: 15px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: 0.25s;
}
font {font-family: Arial;}

.btn-gradient {
    padding: 12px 25px;
    background: linear-gradient(135deg, #6a5af9, #00c2ff);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}
.btn-gradient:hover {
    opacity: 0.85;
    transform: scale(1.05);
}
.password-wrapper {
    position: relative;
    display: inline-block;
}

.password-wrapper input {
    padding-right: 35px;
}

.toggle-pwd {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 18px;
}

/*////////////////////////////// form mudulo iscrizione////////////////////////////*/

/* Griglia responsive */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Ogni campo */
.form-group {
    display: flex;
    flex-direction: column; /* allinea verticalmente */
    gap: 5px; /* spazio tra label e input */
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Campo che deve occupare tutta la riga */
.full-width {
    grid-column: 1 / -1;
}

/* Pulsanti */
.form-buttons {
    display: flex;
    justify-content: center;   /* centra orizzontalmente */
    gap: 15px;                 /* spazio tra i bottoni */
    margin-top: 20px;
    width: 100%;               /* assicura che occupi tutta la riga */
    grid-column: 1 / -1; /* fa occupare tutta la riga nella grid */
}

/* Mobile migliorato */
@media (max-width: 480px) {
    .form-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

.btn-warning-custom {
    background-color: #f7c948;      /* giallo moderno */
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.2s ease-in-out;
    display: inline-block;
}

.btn-warning-custom:hover {
    background-color: #f4b400;      /* giallo più intenso */
    color: #000;
    transform: translateY(-2px);
}

.btn-warning-custom:active {
    transform: translateY(0);
}

.mt-2 {
    margin-top: 8px;
}
.btn-row {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 20px;
}

#preview-box {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    width: 500px;
    min-height: 300px;
    border-radius: 8px;
    background: #fafafa;
}
#preview-box img {
    max-width: 100%;
    border-radius: 6px;
}
#preview-box iframe {
    width: 100%;
    height: 300px;
    border: none;
}