/* ══════════════════════════════════════
   IgrejaNet · Botão Salvar / Favoritar
   Adicione em todos os layouts do portal
   ══════════════════════════════════════ */

/* Botão salvar */
.ij-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid #dadce0;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    vertical-align: middle;
}

.ij-save-btn:hover {
    border-color: #004b8c;
    color: #004b8c;
    background: #e8f0fb;
}

.ij-save-btn.ij-saved {
    background: #004b8c;
    color: #fff;
    border-color: #004b8c;
}

.ij-save-btn.ij-saved:hover {
    background: #c62828;
    border-color: #c62828;
}

.ij-save-btn svg { flex-shrink: 0; }

/* Modal login para não logados */
.ij-login-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.ij-login-modal-overlay.aberto { display: flex; }

.ij-login-modal {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    max-width: 400px;
    width: 92%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    animation: ij-modal-in .25s ease;
}

@keyframes ij-modal-in {
    from { opacity:0; transform:scale(.94); }
    to   { opacity:1; transform:scale(1);   }
}

.ij-login-modal img { height: 44px; margin-bottom: 16px; }
.ij-login-modal h2  { font-size: 20px; font-weight: 700; color: #202124; margin-bottom: 8px; }
.ij-login-modal p   { font-size: 14px; color: #666; margin-bottom: 24px; }

.ij-modal-btn-login {
    display: block;
    width: 100%;
    padding: 13px;
    background: #004b8c;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background .2s;
}
.ij-modal-btn-login:hover { background: #003d75; color: #fff; }

.ij-modal-btn-cadastro {
    display: block;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #004b8c;
    border: 1.5px solid #004b8c;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 14px;
    transition: background .2s;
}
.ij-modal-btn-cadastro:hover { background: #e8f0fb; }

.ij-modal-fechar {
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
