/* Employed Push — card de inscrição e página /notificacoes/ */

/* Modal central: fundo escurecido e rolagem travada até a pessoa responder */
html.emp-push-travado,
html.emp-push-travado body { overflow: hidden; }

.emp-push-overlay {
    position: fixed;
    inset: 0;
    z-index: 99997;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.emp-push-overlay.is-open { opacity: 1; }

.emp-push-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 32px);
    overflow: visible;
    box-sizing: border-box;
    padding: 24px 22px 16px;
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: #0f172a;
    text-align: center;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.emp-push-card.is-open { opacity: 1; transform: none; }

.emp-push-x {
    position: absolute;
    top: 6px;
    right: 8px;
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
}

.emp-push-q {
    margin: 4px 14px 16px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.35;
}
.emp-push-city { text-align: left; }

.emp-push-city { position: relative; margin-bottom: 10px; }
.emp-push-city input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-size: 15px;
}
.emp-push-sug {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    max-height: 220px;
    overflow: auto;
}
.emp-push-sug:empty { display: none; }
.emp-push-sug li { padding: 10px 14px; cursor: pointer; font-size: 14px; }
.emp-push-sug li:hover { background: #eff6ff; }

.emp-push-btn {
    display: block;
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 12px;
    background: #f97316;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}
.emp-push-btn:hover { background: #ea580c; }
.emp-push-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.emp-push-sub {
    margin: -8px 14px 14px;
    font-size: 14px;
    color: #475569;
    line-height: 1.4;
}
.emp-push-sug li.emp-push-sug-vazio { color: #94a3b8; cursor: default; }
.emp-push-sug li.emp-push-sug-vazio:hover { background: none; }
.emp-push-btn--ghost { background: #f1f5f9; color: #334155; }

/* "Agora não": link de texto discreto, mas visível */
.emp-push-later {
    display: block;
    margin: 10px auto 0;
    padding: 6px 10px;
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.emp-push-later:hover { color: #64748b; }

.emp-push-foot {
    margin: 6px 0 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
}

/* O atributo hidden sempre vence (o display dos botões/blocos não pode reexibi-los) */
.emp-push-pagina [hidden],
.emp-push-card [hidden] { display: none !important; }

/* Botões e links do push sem o caixa-alta do Astra */
.emp-push-card button,
.emp-push-card a,
.emp-push-pagina button {
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--emp-font, "Plus Jakarta Sans", "Segoe UI", sans-serif);
}

/* Página /notificacoes/ — mesmo padrão das páginas internas (employed-ui.css) */
.emp-push-pagina .archive-container { max-width: 640px; padding-top: 32px; }

.emp-push-panel {
    background: #fff;
    border: 1px solid var(--emp-line, #e2e8f0);
    border-radius: 14px;
    box-shadow: var(--emp-shadow, 0 8px 24px rgba(15, 23, 42, 0.08));
    padding: 22px;
}

.emp-push-panel__status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--emp-ink, #0f172a);
}
.emp-push-panel__status::before {
    content: "";
    flex: 0 0 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
}
.emp-push-panel__status[data-estado="on"]::before { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.emp-push-panel__status[data-estado="off"]::before { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15); }

/* Regras explícitas: sobrescrevem estilos antigos que possam vir do CSS combinado do LiteSpeed */
.emp-push-pref {
    margin: 18px 0 0;
    padding: 18px 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--emp-line, #e2e8f0);
    border-radius: 0;
}
.emp-push-pref__label {
    margin: 0 0 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--emp-muted, #64748b);
}
.emp-push-pref__valor {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--emp-ink, #0f172a);
}
.emp-push-pref__filtro {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--emp-soft, #f8fafc);
    font-size: 14px;
    color: var(--emp-muted, #64748b);
}
.emp-push-pref__filtro p { margin: 0 0 4px; }
.emp-push-pref__filtro strong { color: var(--emp-ink, #0f172a); }
.emp-push-pref__trocar { margin-top: 12px; }
.emp-push-pref__trocar .emp-push-btn { margin-top: 4px; background: var(--emp-blue, #2563eb); }
.emp-push-pref__msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #15803d; }
.emp-push-pref__msg:empty { display: none; }

.emp-push-panel__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.emp-push-page-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: var(--emp-blue, #2563eb);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}
.emp-push-page-btn:hover { background: var(--emp-blue-deep, #1d4ed8); }
.emp-push-page-btn--ghost {
    background: #fff;
    color: var(--emp-muted, #64748b);
    border: 1px solid var(--emp-line, #e2e8f0);
    font-weight: 700;
}
.emp-push-page-btn--ghost:hover { background: var(--emp-soft, #f8fafc); color: var(--emp-ink, #0f172a); }

.emp-push-panel__hint { margin: 14px 4px 0; font-size: 13px; color: var(--emp-muted, #64748b); text-align: center; }

.emp-push-link {
    border: none;
    background: none;
    padding: 0;
    color: var(--emp-blue, #2563eb);
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
.emp-push-card .emp-push-link { display: block; margin: 8px auto 0; text-align: center; }