/* ---------- Tokens ---------- */
:root {
    --bg: #F6F3EC;          /* pergaminho */
    --surface: #FFFFFF;
    --ink: #211B2E;         /* quase-preto com toque violeta */
    --muted: #6E6878;
    --accent: #6A4C93;      /* violeta litúrgico */
    --accent-deep: #46315F; /* sidebar */
    --line: #E6E0D6;        /* fios hairline */
    --danger: #A4313B;
    --ok: #3B7A57;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(33,27,46,.05), 0 10px 30px rgba(33,27,46,.06);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.5;
}

h1, h2, h3 { font-family: "Spectral", Georgia, serif; font-weight: 600; letter-spacing: -.01em; margin: 0; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.25rem; }
a { color: var(--accent); text-decoration: none; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; color: var(--accent); }
.aviso { padding: 2rem; color: var(--muted); }

/* ---------- Layout autenticado ---------- */
.app-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }

.sidebar {
    background: var(--accent-deep);
    color: #EDE8F2;
    display: flex; flex-direction: column;
    padding: 1.5rem 1.1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 2rem; }
.brand-mark { color: #D8C9EC; font-size: 1.5rem; }
.brand-mark.big { font-size: 2.4rem; }
.brand-name { font-family: "Spectral", serif; font-weight: 600; line-height: 1.05; font-size: 1.15rem; }

.nav { display: flex; flex-direction: column; gap: .15rem; }
.nav-item {
    color: #CFC6DD; padding: .6rem .8rem; border-radius: 8px;
    font-weight: 500; font-size: .92rem; transition: background .12s, color .12s;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active { background: rgba(255,255,255,.14); color: #fff; }

.sidebar-foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 1rem; }
.user-name { display: block; font-weight: 600; font-size: .9rem; }

.content { padding: 2.4rem 2.8rem; max-width: 980px; margin-inline: auto; }

/* ---------- Cabeçalhos de página ---------- */
.page-head { margin-bottom: 1.8rem; }
.page-head h1 { margin: .25rem 0; }

/* ---------- Cartões ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; color: var(--ink);
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(33,27,46,.08), 0 16px 40px rgba(33,27,46,.08); }
.card h2 { margin-bottom: .35rem; }

/* ---------- Painéis ---------- */
.panel {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem 1.6rem; box-shadow: var(--shadow); margin-bottom: 1.4rem;
}
.panel h2 { margin-bottom: 1rem; }

/* ---------- Formulários ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.field-wide { grid-column: 1 / -1; }
.field > span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.field.check { flex-direction: row; align-items: center; gap: .5rem; }
.field.check span { color: var(--ink); }

input, select {
    font: inherit; color: var(--ink); background: #fff;
    border: 1px solid var(--line); border-radius: 8px; padding: .55rem .7rem;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.actions { display: flex; gap: .6rem; align-items: center; margin-top: 1.3rem; flex-wrap: wrap; }

/* ---------- Botões ---------- */
.btn-primary {
    background: var(--accent); color: #fff; border: none; border-radius: 8px;
    padding: .6rem 1.2rem; font: inherit; font-weight: 600; cursor: pointer; transition: background .12s;
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:disabled { opacity: .6; cursor: default; }

.btn-ghost {
    background: transparent; color: var(--accent); border: 1px solid var(--line);
    border-radius: 8px; padding: .55rem 1rem; font: inherit; font-weight: 500; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); }

.btn-link { background: none; border: none; color: var(--accent); font: inherit; font-weight: 500; cursor: pointer; padding: 0; }
.btn-link:hover { text-decoration: underline; }
.btn-link.danger { color: var(--danger); }

/* ---------- Tabelas ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th {
    text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem;
    text-transform: uppercase; letter-spacing: .06em; padding: .5rem .6rem; border-bottom: 1px solid var(--line);
}
.table td { padding: .7rem .6rem; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: none; }
.row-actions { display: flex; gap: 1rem; }
/* Numa célula de tabela, manter table-cell para a linha da grelha atravessar a coluna toda. */
td.row-actions { display: table-cell; white-space: nowrap; }
td.row-actions > * + * { margin-left: 1rem; }

/* ---------- Barra de semana ---------- */
.week-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.week-label { font-family: "Spectral", serif; font-weight: 600; font-size: 1.05rem; }

/* ---------- Mensagens ---------- */
.erro { color: var(--danger); font-size: .9rem; margin: .4rem 0 .8rem; }
.info { color: var(--accent, #2b6cb0); font-size: .9rem; margin: .4rem 0 .8rem; }
.sucesso { color: #2f855a; font-size: .9rem; margin: .4rem 0 .8rem; }

/* ---------- Login ---------- */
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.login-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 2.4rem; width: 100%; max-width: 380px;
    display: flex; flex-direction: column; gap: 1rem;
}
.login-head { text-align: center; margin-bottom: .5rem; }
.login-head h1 { margin: .4rem 0 .2rem; }
.login-card .btn-primary { width: 100%; padding: .7rem; }

/* ---------- Erro Blazor ---------- */
#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    background: #2D2438; color: #fff; padding: .8rem 1.2rem; box-shadow: 0 -2px 10px rgba(0,0,0,.2);
}
#blazor-error-ui .reload, #blazor-error-ui .dismiss { color: #D8C9EC; margin-left: 1rem; cursor: pointer; }

/* ---------- Responsivo ---------- */
@media (max-width: 760px) {
    .app-shell { grid-template-columns: 1fr; }
    .sidebar { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 1rem; }
    .brand { margin-bottom: 0; margin-right: auto; }
    .nav { flex-direction: row; }
    .sidebar-foot { margin: 0; padding: 0; border: none; display: flex; gap: 1rem; align-items: center; }
    .content { padding: 1.5rem 1.2rem; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

/* ---------- Fase 5: leituras e cantores ---------- */
.leitura-bloco { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.leitura-bloco:last-child { border-bottom: none; }
.leitura-cabeca { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.leitura-cabeca strong { font-family: "Spectral", serif; font-size: 1.02rem; }

textarea {
    font: inherit; color: var(--ink); background: #fff;
    border: 1px solid var(--line); border-radius: 8px; padding: .55rem .7rem; resize: vertical;
}
textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #F0EBF6; color: var(--accent-deep); border: 1px solid #E0D6EE;
    border-radius: 999px; padding: .35rem .8rem; font-size: .9rem; font-weight: 500;
}
.chip-x { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0; }
.chip-x:hover { color: var(--danger); }

/* Cabeçalho de painel com ação à direita (ex.: filtro) */
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.panel-head h2 { margin: 0; }

/* ---------- Calendário (Fase 6) ---------- */
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.cal-nav { display: flex; align-items: center; gap: .6rem; }
.cal-period { font-weight: 600; min-width: 11rem; text-align: center; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: var(--surface); color: var(--ink); padding: .35rem .8rem; cursor: pointer; font: inherit; }
.seg button.on { background: var(--accent); color: #fff; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-head { text-align: center; font-weight: 600; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .2rem 0; }
.cal-cell { min-height: 98px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .35rem; display: flex; flex-direction: column; gap: 4px; }
.cal-cell.fora { background: transparent; opacity: .45; }
.cal-cell.hoje { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cal-daynum { font-size: .8rem; font-weight: 600; align-self: flex-end; }

.cal-ev { display: flex; gap: .35rem; align-items: baseline; font-size: .73rem; line-height: 1.2; padding: .12rem .35rem; border-radius: 6px; border-left: 3px solid var(--accent); background: #F0EBF6; color: var(--ink) !important; text-decoration: none; }
.cal-ev:hover { filter: brightness(.97); }
.cal-ev-hora { font-weight: 700; }
.cal-ev-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev--dom { border-left-color: var(--accent); background: #F0EBF6; }
.cal-ev--dia { border-left-color: #B9A8D6; background: #F5F1FB; }
.cal-ev--bom { border-left-color: var(--ok); background: #EAF3EE; }
.cal-ev--fun { border-left-color: var(--muted); background: #EEEDF1; }

.cal-legenda { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.cal-legenda .dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.cal-legenda .dot.dom { background: var(--accent); }
.cal-legenda .dot.dia { background: #B9A8D6; }
.cal-legenda .dot.bom { background: var(--ok); }
.cal-legenda .dot.fun { background: var(--muted); }

@media (max-width: 720px) {
    .cal-cell { min-height: 72px; padding: .25rem; }
    .cal-ev-txt { display: none; }
}

/* --- Seletor de paróquia (barra lateral) --- */
.sidebar-foot .foot-eyebrow {
    display: block;
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8E80AC;
    margin-bottom: .25rem;
}
.sidebar-foot .paroquia-bloco {
    padding-bottom: .95rem;
    border-bottom: 1px solid rgba(237, 232, 242, .12);
}
.sidebar-foot .paroquia-atual {
    font-size: .92rem;
    font-weight: 600;
    color: #EDE8F2;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-foot .paroquia-nif {
    font-size: .72rem;
    color: #A99CC0;
    padding-top: .2rem;
    letter-spacing: .02em;
}
.sidebar-foot .paroquia-sel {
    width: 100%;
    padding: .4rem .5rem;
    border-radius: 8px;
    border: 1px solid rgba(237, 232, 242, .25);
    background: rgba(255, 255, 255, .06);
    color: #EDE8F2;
    font-size: .85rem;
    cursor: pointer;
}
.sidebar-foot .paroquia-sel option { color: #2B2540; }

.sidebar-foot .user-card {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.sidebar-foot .avatar {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7C64A9, #4C3575);
    color: #fff;
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .01em;
    box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 2px 6px rgba(0,0,0,.28);
}
.sidebar-foot .user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sidebar-foot .user-card .user-name {
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-foot .user-perfil {
    font-size: .72rem;
    color: #A99CC0;
    margin-top: .05rem;
}
.sidebar-foot .foot-actions {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    margin-top: -.2rem;
}
.sidebar-foot .foot-action {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: calc(100% + 1rem);
    margin: 0 -.5rem;
    padding: .42rem .5rem;
    border: none;
    border-radius: 8px;
    background: none;
    color: #C9BEDD;
    font-size: .82rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.sidebar-foot .foot-action:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-foot .foot-action svg { width: 16px; height: 16px; opacity: .85; flex: 0 0 auto; }

/* ---------- Casamento (Fase 16) ---------- */
.coluna { max-width: 720px; }
.campo-largo { width: 100%; box-sizing: border-box; }

.tabela { width: 100%; border-collapse: collapse; margin: .5rem 0 .25rem; }
.tabela th {
    text-align: left; font-size: .78rem; font-weight: 600; color: var(--muted);
    padding: .4rem .5rem; border-bottom: 1px solid var(--line);
}
.tabela td { padding: .4rem .5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tabela tr:last-child td { border-bottom: none; }
.tabela td input, .tabela td select { width: 100%; box-sizing: border-box; }

.lista-simples { list-style: none; padding: 0; margin: .25rem 0 0; }
.lista-simples li {
    display: flex; align-items: center; gap: .6rem;
    padding: .55rem 0; border-bottom: 1px solid var(--line);
}
.lista-simples li:last-child { border-bottom: none; }

.panel h2 .chip { vertical-align: middle; margin-left: .5rem; font-size: .72rem; }
.panel > .btn-link { display: inline-block; margin-top: .35rem; }

.nota-lida {
    margin: 0; white-space: pre-wrap;
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 8px; padding: .6rem .7rem; color: var(--ink);
}

/* Etiqueta de administrador de grupo */
.badge {
    display: inline-block;
    padding: .1rem .5rem;
    font-size: .72rem;
    font-weight: 600;
    border-radius: 999px;
    background: #ede7f6;
    color: #5e35b1;
    vertical-align: middle;
}

/* Grupo de navegação "Navegador" (catequese e futuras gestões) */
.nav-group-label {
    margin: 1rem .25rem .25rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .55;
}
.nav-item.nav-sub {
    padding-left: 1.4rem;
    font-size: .92rem;
}

/* Caixa interior dentro de um painel (ex.: agendamento de sacramento) */
.panel-inset {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(94,53,177,.18);
    border-radius: 12px;
    background: rgba(237,231,246,.45);
}
.panel-inset h3 { margin: 0 0 .2rem; }

/* Ficha do catequizando (grelha de leitura) */
.ficha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .6rem 1.2rem;
    margin: .4rem 0 1rem;
}
.ficha-grid > div > span.muted { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }

/* Grupos de checkboxes (preferências de catequese) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: .3rem 0 1rem; }
.chips .chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; }

/* ============ Inscrição na catequese — compromisso, autorizações e CTA ============ */

/* Texto da declaração */
.compromisso-box {
    max-height: 280px; overflow: auto; white-space: pre-wrap;
    padding: 1rem 1.1rem; margin-bottom: 1.1rem;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #FBFAF7; color: var(--ink);
    font-size: .92rem; line-height: 1.55;
}
.compromisso-empty {
    display: flex; align-items: center; gap: .6rem;
    padding: .85rem 1rem; margin-bottom: 1.1rem;
    border: 1px dashed var(--line); border-radius: var(--radius);
    background: #FBFAF7; color: var(--muted); font-size: .9rem;
}
.compromisso-empty svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; opacity: .7; }

/* Lista de autorizações como "cartões" */
.consent-list { display: flex; flex-direction: column; gap: .4rem; margin: .25rem 0 .5rem; }
.consent-item {
    display: flex; gap: .8rem; align-items: flex-start;
    padding: .85rem .95rem; border-radius: 10px;
    border: 1px solid var(--line); background: var(--surface);
    cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s;
}
.consent-item:hover { border-color: rgba(106,76,147,.4); background: rgba(106,76,147,.03); }
.consent-item.required { border-color: rgba(106,76,147,.35); background: rgba(106,76,147,.06); }
.consent-item .consent-text { font-size: .92rem; line-height: 1.45; color: var(--ink); }
.consent-item .req { color: var(--accent); font-weight: 700; }

/* Checkbox personalizado */
.consent-item input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 1.3rem; height: 1.3rem; margin: .05rem 0 0; flex: 0 0 auto;
    border: 1.5px solid #C9C2D6; border-radius: 6px; background: #fff;
    display: grid; place-content: center; cursor: pointer;
    transition: background .12s, border-color .12s, box-shadow .12s;
}
.consent-item input[type="checkbox"]:hover { border-color: var(--accent); }
.consent-item input[type="checkbox"]:focus-visible { outline: 2px solid rgba(106,76,147,.45); outline-offset: 2px; }
.consent-item input[type="checkbox"]:checked { background: var(--accent); border-color: var(--accent); }
.consent-item input[type="checkbox"]::after {
    content: ""; width: .36rem; height: .66rem; border: solid #fff;
    border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-1px);
    opacity: 0; transition: opacity .1s;
}
.consent-item input[type="checkbox"]:checked::after { opacity: 1; }

/* Barra de submissão + botão CTA */
.submit-bar { display: flex; flex-direction: column; align-items: center; gap: .55rem; margin-top: 1.3rem; }
.submit-hint { font-size: .8rem; color: var(--muted); text-align: center; }

.btn-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-width: 240px; padding: .85rem 1.7rem;
    border: none; border-radius: 12px; cursor: pointer;
    font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: .01em; color: #fff;
    background: linear-gradient(135deg, #7B5AA6 0%, var(--accent) 45%, var(--accent-deep) 100%);
    box-shadow: 0 6px 16px rgba(70,49,95,.28), inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn-cta:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(70,49,95,.34), inset 0 1px 0 rgba(255,255,255,.22);
    filter: brightness(1.05);
}
.btn-cta:active:not(:disabled) { transform: translateY(0); box-shadow: 0 4px 12px rgba(70,49,95,.3); }
.btn-cta:disabled { opacity: .75; cursor: default; }
.btn-cta svg { width: 1.15rem; height: 1.15rem; }
.btn-cta .spinner {
    width: 1.05rem; height: 1.05rem; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
    animation: cta-spin .7s linear infinite;
}
@keyframes cta-spin { to { transform: rotate(360deg); } }

/* Cabeçalho retrátil do grupo "Catequese" na barra lateral */
.nav-group-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    width: calc(100% - .5rem);
    margin: 1rem .25rem .25rem; padding: .15rem 0;
    background: none; border: none; cursor: pointer;
    color: inherit; font: inherit;
    font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    opacity: .55; transition: opacity .12s;
}
.nav-group-toggle:hover { opacity: .9; }
.nav-group-toggle .chev {
    width: .8rem; height: .8rem; flex: 0 0 auto;
    transform: rotate(-90deg); transition: transform .15s ease;
}
.nav-group-toggle.open .chev { transform: rotate(0deg); }

/* ===== Leituras do dia (Eucaristia) ===== */
.leituras-cabeca { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.leituras-info { margin: .2rem 0 0; font-weight: 600; color: var(--accent-deep); }
.leitura-dia { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.leitura-dia:first-of-type { margin-top: 1rem; }
.leitura-dia h3 { margin: 0 0 .5rem; font-size: 1.02rem; color: var(--accent-deep); }
.leitura-item + .leitura-item { margin-top: .9rem; }
.leitura-ref { margin: 0; font-weight: 700; }
.leitura-tit { margin: .15rem 0 .35rem; font-style: italic; }
.leitura-refrao { margin: .15rem 0 .4rem; font-style: italic; font-weight: 600; }
.leitura-texto { margin: .25rem 0 0; white-space: pre-wrap; line-height: 1.55; }
.leituras-fonte { margin-top: 1.1rem; font-size: .85rem; }

/* Estado da resposta do leitor ao pedido de leitura */
.estado-leitor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: .4rem;
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}
.estado-pendente { color: #8a7f6d; background: rgba(138, 127, 109, .16); }
.estado-aceite   { color: #1b7a43; background: rgba(27, 122, 67, .16); }
.estado-rejeitado{ color: #b3261e; background: rgba(179, 38, 30, .16); }
