/* ═══════════════════════════════════════════════════════════════
   ISOLA CONNECT — BACHECA STASERA CSS
   ═══════════════════════════════════════════════════════════════ */

#bachecaWidget {
    margin-bottom: 20px;
}

.bacheca-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.bacheca-fire {
    font-size: 28px;
    animation: firePulse 1.5s ease-in-out infinite;
}

@keyframes firePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.bacheca-title {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
}

.bacheca-sub {
    font-size: 12px;
    color: #888;
}

/* Scroll orizzontale */
.bacheca-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 12px;
    scrollbar-width: none;
}

.bacheca-scroll::-webkit-scrollbar {
    display: none;
}

/* Card */
.bacheca-card {
    flex-shrink: 0;
    width: 260px;
    border-radius: 14px;
    padding: 14px;
    color: white;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.bacheca-card:active {
    transform: scale(0.97);
}

.bacheca-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bacheca-op {
    font-size: 12px;
    opacity: 0.9;
}

.bacheca-tipo {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
}

.bacheca-titolo {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.bacheca-desc {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 8px;
    line-height: 1.4;
}

.bacheca-card-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.bacheca-prezzo {
    font-size: 18px;
    font-weight: 800;
}

.bacheca-posti {
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.bacheca-orario {
    font-size: 11px;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 360px) {
    .bacheca-card {
        width: 230px;
        padding: 12px;
    }
    .bacheca-titolo { font-size: 14px; }
    .bacheca-prezzo { font-size: 16px; }
}
