/* ── Loteria Sidebar Widget v1.0 ──────────────────────────────────────────── */

.lsidebar-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.lsidebar-titulo {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    color: #1e293b;
}

/* ── Lista de cards ────────────────────────────────────────────────────────── */
.lsidebar-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Card individual ───────────────────────────────────────────────────────── */
.lsidebar-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    transition: box-shadow .15s, transform .15s;
    overflow: hidden;
}

.lsidebar-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    transform: translateY(-1px);
    text-decoration: none;
    color: inherit;
}

/* ── Cabeçalho do card ─────────────────────────────────────────────────────── */
.lsidebar-header {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-left: 8px;
    margin-bottom: 8px;
}

.lsidebar-nome {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.lsidebar-concurso {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.lsidebar-data {
    font-size: 10px;
    color: #94a3b8;
}

/* ── Bolinhas ──────────────────────────────────────────────────────────────── */
.lsidebar-bolas {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.lsidebar-bola {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    flex-shrink: 0;
}

.lsidebar-bola-mais {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
}

/* ── Rodapé do card ────────────────────────────────────────────────────────── */
.lsidebar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lsidebar-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
}

.lsidebar-tag-acumulou {
    background: #fff3cd;
    color: #92400e;
}

.lsidebar-tag-premio {
    background: #dcfce7;
    color: #166534;
    font-size: 10px;
}

.lsidebar-ver {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    margin-left: auto;
}

/* ── Link "Ver todos" ──────────────────────────────────────────────────────── */
.lsidebar-todos {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.lsidebar-todos:hover {
    background: #1e293b;
    color: #fff;
    border-color: #1e293b;
    text-decoration: none;
}

/* ── Vazio ─────────────────────────────────────────────────────────────────── */
.lsidebar-vazio {
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
    padding: 16px 0;
}

/* ── Responsivo: cards menores em telas pequenas ───────────────────────────── */
@media (max-width: 480px) {
    .lsidebar-bola {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
}
