/* ==========================================================================
   Agenda Maçônica Brasil: ajustes próprios sobre o tema base (agenda.css)
   ========================================================================== */
.agenda-logo { display: inline-flex; align-items: center; height: 100%; }
.agenda-logo-img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(14, 15, 46, .25)); }
.ig-login-brand .agenda-logo { height: 92px; }
.fi-sidebar-header { min-height: 5rem; }
.fi-sidebar-header .agenda-logo { height: 3rem; }
.ig-login-trial span { color: var(--ig-brand); font-weight: 700; }

/* Miniatura do logotipo nas tabelas */
.ag-thumb img { border-radius: 12px; object-fit: cover; background: var(--ig-surface-3, #f1f5f9); }

/* Faixa dourada sob títulos de seção do dashboard */
.ag-gold { color: #f2c230; }
.ig-card .ag-link { color: #ffe082; font-size: 12px; font-weight: 700; text-decoration: none; }
.ig-card .ag-link:hover { text-decoration: underline; }
.ag-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.ag-pill.ok { background: rgba(74, 222, 128, .12); color: #4ade80; }
.ag-pill.alerta { background: rgba(252, 165, 165, .14); color: #fca5a5; }
.ag-pill.aviso { background: rgba(242, 194, 48, .14); color: #ffe082; }

/* Listas claras do dashboard */
.ag-tabela { display: flex; flex-direction: column; margin-top: 10px; }
.ag-linha { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--ig-line); text-decoration: none; border-radius: 10px; transition: background .15s ease; }
.ag-linha:last-child { border-bottom: 0; }
.ag-linha:hover { background: var(--ig-surface-brand, #f1f1fb); }
.ag-linha-main { min-width: 0; display: flex; flex-direction: column; }
.ag-linha-main b { color: var(--ig-text); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-linha-main span { color: var(--ig-text-2); font-size: 12px; }
.ag-vazio { color: var(--ig-text-2); font-size: 13px; text-align: center; padding: 28px 0; }
.ag-pill.alerta { background: #fee2e2; color: #b91c1c; }
.ag-pill.aviso { background: #fef3c7; color: #92400e; }
a.ig-listrow { text-decoration: none; border-radius: 10px; }
a.ig-listrow:hover { background: rgba(255, 255, 255, .04); }
a.ig-htile { text-decoration: none; }
html.dark .ag-pill.alerta { background: rgba(239, 68, 68, .15); color: #fca5a5; }
html.dark .ag-pill.aviso { background: rgba(242, 194, 48, .15); color: #ffe082; }

/* Arte do anúncio na visualização: nunca passa da própria coluna */
.ag-logo-anuncio { max-width: 100%; overflow: hidden; }
.ag-logo-anuncio img { width: 100% !important; max-width: 260px; height: auto !important; max-height: 260px; object-fit: contain; background: var(--ig-surface-3, #f1f5f9); }
.ag-logo-anuncio > div, .ag-logo-anuncio a { max-width: 100%; }

/* Horários estilo Google */
.ag-horarios-cabecalho { display: none !important; padding-bottom: 2px; border-bottom: 1px solid var(--ig-line); }
@media (min-width: 768px) { .ag-horarios-cabecalho { display: grid !important; } }
.ag-horarios-cabecalho .fi-fo-field-wrp { gap: 0; }
.ag-horario-linha { align-items: center; padding: 6px 0; border-bottom: 1px solid var(--ig-line); }
.ag-horario-linha .fi-fo-field-wrp { justify-content: center; }
.ag-horario-dia label { font-weight: 600; }
