.flag {
    display: none;
    position: fixed;
    top: 14cm;
    right: 0.5cm;
    text-align: center;
    background-color: #FFF;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.flag::after {
    content: '';
    position: absolute;
    right: -0.7rem; /* sposta la freccia fuori dal box */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 0.7rem solid transparent;
    border-bottom: 0.7rem solid transparent;
    border-left: 0.7rem solid #FFF; /* colore della freccia */
}
.card.to-fade {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    animation: fadeInUp 0.8s cubic-bezier(0.1, 0.9, 0.2, 1) 0.2s forwards;
}

@keyframes fadeInUp {

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   Clearable inputs (public templates)
   ========================================================= */
.rp-clearable__btn {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: currentColor;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}
.rp-clearable__btn.visible {
    display: inline-flex;
}
.rp-clearable__btn:hover {
    color: #255598;
}
.rp-clearable__btn:focus,
.rp-clearable__btn:focus-visible {
    outline: none;
    box-shadow: none;
}
