/**
 * PostaDiOdino — stili del sito (modulo d'iscrizione e pagine profilo/disiscrizione/conferma).
 * Leggeri: tipografia, colori e pulsanti arrivano da YOOtheme/UIkit (classi uk-*).
 * @copyright (C) 2026 Runa di Odino; derivato da AcyMailing (C) 2009-2026 Acyba SAS
 * @license   GNU General Public License version 2 or later; see LICENSE.txt
 */

.pdo-module .acym_module_form,
.pdo-page .pdo-fields { display: flex; flex-direction: column; gap: .75rem; }
.pdo-module .acym_form { display: flex; flex-direction: column; gap: .6rem; }
.pdo-module .onefield label,
.pdo-page .onefield label { display: block; margin-bottom: .25rem; }
.pdo-module .onefield input[type="text"],
.pdo-module .onefield input[type="email"],
.pdo-module .onefield input[type="tel"],
.pdo-module .onefield input[type="date"],
.pdo-module .onefield select,
.pdo-module .onefield textarea,
.pdo-page .onefield input[type="text"],
.pdo-page .onefield input[type="email"],
.pdo-page .onefield input[type="tel"],
.pdo-page .onefield input[type="date"],
.pdo-page .onefield select,
.pdo-page .onefield textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.pdo-required { margin-left: .15em; }

.pdo-lists .onelist label,
.pdo-choice { display: inline-flex; align-items: center; gap: .4em; margin-right: 1em; cursor: pointer; }
.pdo-choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.pdo-choices legend { padding: 0; margin-bottom: .25rem; }
.pdo-terms label { display: inline; }
.pdo-buttons { margin: .5rem 0 0; }

/* Esito dell'invio (classi mod_acym mantenute) */
.pdo-response { padding: .75rem 1rem; margin: 0 0 .75rem; border-radius: 4px; border-left: 4px solid; }
.pdo-response.acym_module_success { border-color: #32d296; background: rgba(50, 210, 150, .1); }
.pdo-response.acym_module_error { border-color: #f0506e; background: rgba(240, 80, 110, .1); }
.pdo-loading { opacity: .5; pointer-events: none; }
.acym_invalid_field { outline: 2px solid #f0506e; outline-offset: 1px; }

/* Campo trappola e testi solo per lettori di schermo */
.pdo-hp,
.pdo-visually-hidden {
	position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
	margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.pdo-hp { left: -10000px !important; }

/* Pagine */
.pdo-page { max-width: 46rem; }
.pdo-page .pdo-fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.pdo-page .pdo-fieldset > legend { font-size: 1.15em; font-weight: 600; margin-bottom: .75rem; padding: 0; }
.pdo-list-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(128, 128, 128, .25); }
.pdo-yesno label { margin-left: 1em; cursor: pointer; }
.pdo-unsub-lists { list-style: none; padding: 0; }
.pdo-unsub-lists li { padding: .25rem 0; }
.pdo-reasons .pdo-choice { display: flex; margin: .25rem 0; }
.pdo-reason-text { display: block; margin-top: .75rem; }
.pdo-reason-text span { display: block; margin-bottom: .25rem; }
.pdo-reason-text textarea { width: 100%; box-sizing: border-box; }
.pdo-page .pdo-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.pdo-notice { padding: 1rem 1.25rem; border-left: 4px solid #faa05a; background: rgba(250, 160, 90, .1); margin-bottom: 1rem; }
.pdo-notice-success { border-color: #32d296; background: rgba(50, 210, 150, .1); }
.pdo-notice p:last-child { margin-bottom: 0; }

@media (max-width: 480px) {
	.pdo-list-row { flex-direction: column; align-items: flex-start; }
	.pdo-yesno label:first-child { margin-left: 0; }
}
