/* La richiesta di contatto degli istituti (istituti_contatto.php): i colori del
   sito (testata.css, --sfondo, --ambra...), una colonna che regge il telefono. */

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--sfondo, #0d1117);
    color: var(--testo, #eef2f6);
    font: 16px/1.5 system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}
.ic {
    width: calc(100% - 2rem);
    max-width: 40rem;
    margin: 1.5rem auto 3rem;
    padding: 1.4rem;
    background: var(--sfondo2, #141a22);
    border: 1px solid var(--bordo, #222c38);
    border-radius: 12px;
}
.ic h1 { margin: 0 0 .4rem; font-size: 1.5rem; letter-spacing: -.3px; }
.ic-nota { color: var(--tenue, #9aa7b4); font-size: .94rem; }
.ic-nota a, .ic-consenso a { color: var(--ambra, #f5a623); }
.ic-c { display: block; margin: .8rem 0 0; }
.ic-c > span { display: block; margin-bottom: .25rem; font-size: .8rem; color: var(--tenue, #9aa7b4); }
.ic input[type="text"], .ic input[type="email"], .ic input[type="tel"], .ic select, .ic textarea {
    width: 100%;
    padding: .6rem .7rem;
    border: 1px solid #3a4656;
    border-radius: 8px;
    background: var(--sfondo, #0d1117);
    color: var(--testo, #eef2f6);
    font: inherit;
}
.ic input:focus, .ic select:focus, .ic textarea:focus { outline: 2px solid var(--ambra, #f5a623); outline-offset: 1px; }
.ic-due { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
@media (max-width: 34rem) { .ic-due { grid-template-columns: 1fr; } }
/* La casella che le persone non vedono (contro i programmi che riempiono tutto). */
.ic-trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ic-consenso { display: flex; gap: .6rem; align-items: flex-start; margin: 1.1rem 0 .2rem; font-size: .92rem; }
.ic-consenso input { margin-top: .25rem; accent-color: var(--ambra, #f5a623); }
#ic-manda {
    margin-top: 1rem;
    padding: .75rem 1.3rem;
    border: 0;
    border-radius: 10px;
    background: var(--ambra, #f5a623);
    color: #1a1206;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}
#ic-manda:disabled { opacity: .6; cursor: default; }
.avviso { padding: .6rem .8rem; border-radius: 8px; }
.avviso.errore { background: #3b1c1c; color: #ffd2d2; }
.avviso.ok { background: #16321f; color: #c9f2d5; }
