/* Página central de recibos — navegação por categoria e tabelas */

section.recibos > p {
    margin-bottom: 1.5rem;
}

section.recibos .recibos-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0 2rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

section.recibos .recibos-nav a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .9rem;
    border: 1px solid rgba(0, 0, 0, .16);
    border-radius: 999px;
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}

section.recibos .recibos-nav a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .08);
    font-size: .8rem;
    font-weight: 700;
}

section.recibos .recibos-nav a.ativo {
    background: #222;
    border-color: #222;
    color: #fff;
}

section.recibos .recibos-nav a.ativo span {
    background: rgba(255, 255, 255, .2);
}

section.recibos .recibos-secao {
    margin-top: 2.5rem;
    scroll-margin-top: 100px;
}

section.recibos .recibos-secao h2 {
    margin-bottom: .25rem;
}

section.recibos .recibos-secao > p {
    margin-bottom: 1rem;
}

section.recibos .table-wrapper {
    overflow-x: auto;
}

section.recibos table {
    width: 100%;
    border-collapse: collapse;
}

section.recibos th,
section.recibos td {
    padding: .6rem .5rem;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    vertical-align: top;
}

section.recibos th {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

section.recibos td small {
    opacity: .75;
}

section.recibos .erro {
    color: var(--color-error, #c00);
    font-weight: 500;
}

section.recibos .vazio {
    opacity: .75;
}

@media (max-width: 640px) {
    section.recibos .recibos-nav a {
        font-size: .9rem;
    }
}
