/* ═══ «SEGNALA UN PROBLEMA» (componenti/comune/segnala_pagina) ═════════════
   Sotto «Ho capito»: lo stesso giallo, ma solo il bordo. La carta che si apre
   è chiara come le carte della pagina, con l'inchiostro blu notte. */
.usc-fondo-segnala { margin-top: .7rem; }

.usc-segnala {
    display: inline-block;
    min-width: 11rem;
    padding: calc(.8rem - 2px) 1.6rem;
    border: 2px solid #ffd98a;
    border-radius: 999px;
    background: transparent;
    color: #ffd98a;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.usc-segnala:active { transform: scale(.96); }
.usc-segnala:disabled { opacity: .6; }

.sgp-velo {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(4, 14, 26, .62);
}

.sgp-velo[hidden] { display: none; }

.sgp-carta {
    width: 100%;
    max-width: 24rem;
    padding: 1.4rem 1.2rem 1.2rem;
    border-radius: 18px;
    background: linear-gradient(168deg, #eef3f8 0%, #e1e9f1 100%);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .9);
    text-align: center;
}

.sgp-tit { margin: 0 0 .3rem; font-size: 1.1rem; line-height: 1.3; color: #12314f; }
.sgp-sotto { margin: 0 0 .9rem; font-size: .95rem; line-height: 1.45; color: #3d4d5c; }

.sgp-testo {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: .7rem .8rem;
    border: 1px solid rgba(18, 49, 79, .2);
    border-radius: 12px;
    background: #fff;
    color: #12314f;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    resize: vertical;
}

.sgp-bottoni { display: grid; justify-items: center; gap: .3rem; margin-top: 1rem; }

.sgp-no {
    padding: .6rem 1rem;
    border: 0;
    background: none;
    color: #5a6b7c;
    font: inherit;
    font-size: .92rem;
    cursor: pointer;
}

/* «Scrivimi qui» dentro la pagina (Privacy, «Chi risponde dei dati»): apre la
   stessa carta del bottone in fondo, senza scendere. */
.sgp-qui{ display:inline-flex; align-items:center; gap:.45rem; padding:.6rem 1.1rem; border:1.5px solid currentColor;
  border-radius:999px; background:transparent; font:inherit; font-weight:700; color:inherit; cursor:pointer; }
.sgp-qui:disabled{ opacity:.6; }

/* «Scrivimi»: sotto il messaggio, come rispondere. */
.sgp-recapito{ display:grid; gap:.3rem; margin-top:.8rem; text-align:left; }
.sgp-recapito[hidden]{ display:none; }
.sgp-recapito > span{ font-size:.85rem; font-weight:700; color:#12314f; }
.sgp-avviso{ margin:.4rem 0 0; font-size:.85rem; color:#b3261e; }
