/* Copy Animation */
.base-color {
    color: hsl(var(--main)) !important;
}

.show-filter {
    display: none;
}

@media(max-width:767px) {
    .responsive-filter-card {
        display: none;
        transition: none;
    }

    .show-filter {
        display: block;
    }
}

button .spinner-border {
    --bs-spinner-width: 1.5rem;
    --bs-spinner-height: 1.5rem;
}

label.required:after {
    content: '*';
    color: #DC3545 !important;
    margin-left: 2px;
}

/* pulsante torna agli annunci nella sidebar */
.dashboard-back-link {
    display: flex; align-items: center; gap: 10px;
    margin: 4px 16px 12px; padding: 12px 14px;
    background: hsl(var(--base) / .12); border-radius: 10px;
    color: hsl(var(--dark)); font-weight: 600; text-decoration: none;
}
.dashboard-back-link:hover { background: hsl(var(--base) / .22); }
.dashboard-back-link__arrow { font-size: 1.2rem; line-height: 1; }
.dashboard-back-link__count {
    margin-left: auto; background: hsl(var(--base)); color: hsl(var(--dark));
    border-radius: 999px; padding: 2px 10px; font-size: .8rem;
}

/* allegati chat: foto/video/location */
.chat-location-card { border:1px solid #e5e5e5; border-radius:12px; overflow:hidden; margin-bottom:6px; background:#fff; }
.chat-location-card__map { display:block; width:280px; height:150px; }
.chat-location-card__link { display:flex; align-items:center; gap:6px; padding:8px 10px; font-size:.85rem; font-weight:600; color:#155eef; text-decoration:none; }
.chat-location-card__link small { display:block; color:#888; font-weight:400; }
.chat-attachment { max-width:320px; max-height:240px; border-radius:12px; display:block; margin-bottom:6px; cursor:zoom-in; }
.chat-attachment--video { width:280px; cursor:default; }

/* paginatore numerato */
.rv-pagination { gap: 6px; margin-bottom: 0; }
.rv-pagination .page-link {
    min-width: 40px; height: 40px; border-radius: 10px !important;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #e3e6ea; color: #222; font-weight: 600; background: #fff;
}
.rv-pagination .page-item.active .page-link { background: hsl(var(--base)); border-color: hsl(var(--base)); color: hsl(var(--dark)); }
.rv-pagination .page-item.disabled .page-link { color: #bbb; }
.rv-pager-jump { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #555; }
.rv-pager-jump input {
    width: 76px; height: 40px; border: 1px solid #e3e6ea; border-radius: 10px;
    text-align: center; font-weight: 600; outline: none;
}
.rv-pager-jump button {
    height: 40px; padding: 0 18px; border: 0; border-radius: 10px;
    background: hsl(var(--base)); color: hsl(var(--dark)); font-weight: 700; cursor: pointer;
}
.rv-pager-jump span { font-size: .9rem; color: #888; }

/* freccia nei pulsanti al posto delle icone immagine */
.btn__icon--arrow { font-size: 1.1rem; line-height: 1; display: inline-flex; }
