/* Pray System — tela inicial, conta master, operadores e painel geral */
.lg-title { font-size: 19px; text-align: center; margin-top: 6px; }
.lg-hint:empty { display: none; }
.lg-hint { text-align: center; margin: 6px 0 0; }
.lg-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 8px; }
.user-code { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.user-code .input { margin-top: 0; }
.user-code span { color: var(--text); font-weight: 650; white-space: nowrap; }
.me-info p { margin: 0 0 8px; }
.dlg h3 { font-size: 15px; }
/* Painel geral */
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.adm-table tr[data-c] { cursor: pointer; }
.adm-table tr[data-c]:hover td { background: var(--panel2); }
.adm-table small { display: block; color: var(--muted); }
.adm-wrap { overflow-x: auto; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.adm-stats .tile b { font-size: 26px; }
.tag.off { background: var(--live-soft); color: var(--live); border-color: #f0b8ba; }
@media (max-width: 700px) { .adm-table .hide-sm { display: none; } }

/* Painel geral: contas de uma igreja */
.ac-list .item { align-items: center; }
.ac-list .ac-why { color: var(--live); }

/* Olho para mostrar/ocultar a senha */
.pw-wrap { position: relative; display: block; }
.pw-wrap > .input { width: 100%; padding-right: 42px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; padding: 0; }
.pw-eye:hover { color: var(--accent); background: var(--chip); }
.pw-eye .eye-off { display: none; }
.pw-eye.on .eye-off { display: inline; }
.pw-eye.on { color: var(--accent); }

/* Modo teste: contas prontas na tela de entrada */
.lg-test { margin-top: 18px; padding: 12px; border: 1px dashed #f1cf8e; background: #fffaf0; border-radius: 12px; font-size: 13px; text-align: center; }
.lg-test #lgTestList { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.lg-acc { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; font: inherit; text-align: left; }
.lg-acc:hover { border-color: var(--accent); }
.lg-acc small { color: var(--muted); font-size: 12px; }

/* Painel geral: fundos aguardando aprovação */
.pend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pend { border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); }
.pend img, .pend video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #eee; }
.pend-f small { display: block; color: var(--muted); }
.pend .row { justify-content: space-between; }
#bgPend { margin-bottom: 16px; }
#sgPend { margin-bottom: 16px; }
.pend-lyr { white-space: pre-wrap; font: inherit; font-size: 13px; max-height: 220px; overflow: auto; background: var(--panel2); padding: 8px; border-radius: 8px; margin: 6px 0 0; }

/* Aprovação em lote no Painel geral */
.pend-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 10px; padding: 8px 10px; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; }
.pend-bar .spacer { flex: 1; }
.pend { position: relative; }
.pend.on { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }
.pend-pick { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; border-radius: 6px; padding: 3px 4px; line-height: 0; box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
.pend-pick input { width: 18px; height: 18px; margin: 0; cursor: pointer; accent-color: var(--accent); }
.pend-grid.songs .pend-pick { position: static; align-self: flex-start; box-shadow: none; padding: 0; background: none; }

/* Cadastro da igreja: como a pessoa vira membro */
.fld.regra { display: grid; gap: 6px; text-align: left; }
.ru-opts { display: grid; gap: 8px; }
.ru-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: 13px; color: var(--text); }
.ru-opt:has(input:checked) { border-color: var(--accent); background: #eaf3fc; }
.ru-opt input { margin-top: 3px; }
.ru-opt span { display: grid; gap: 2px; }
.ru-opt small { color: var(--muted); }
/* Contratos: botão do topo com contrato esperando assinatura */
.topbar .menu .tbtn.has-alert { border-color: #e0a100 !important; background: #fff4d6 !important; color: #7a4f08; }
