/* ========================
   PALETA DE CORES
   ======================== */
:root {
    --branco: #ffffff;
    --gelo: #f1f1f1;
    --verde: #19c463;
    --preto: #2a2a2a;
    --cinza: #b8babd;
    --vermelho: #e92b2b;
    --sombra: rgba(36, 36, 36, 0.26);
    --f7-page-content-padding-top: 0px;
    --f7-page-content-padding-left: 0px;
}

/* ========================
   IMPORTAÇÃO DE FONTES
   ======================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* ========================
   RESET DE ESTILOS GERAIS
   ======================== */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Bebas Neue", Arial, sans-serif;
    background-color: var(--branco);
    color: var(--preto);
}



/* ========================
   TOOLBAR & NAVEGAÇÃO INFERIOR
   ======================== */
.toolbar {
    height: 60px;
    margin-top: 0%;
}

.view {
    margin-bottom: 70px;

}

.toolbar-inner {
    background: var(--branco);
    border-top: 1px solid var(--gelo);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 0px;
}

.tab-link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.toolbar-inner .link {
    flex: 1;
    height: 80px;
    line-height: 25px;
    font-weight: bold;
    color: var(--verde);
}

.toolbar-inner .link:not(.active) {
    color: var(--preto);
    font-weight: normal;
}

.toolbar-inner>.link i {
    font-size: 28px;
}


#btn-logout {
    pointer-events: auto;
    /* Garante que o botão seja clicável */
    opacity: 1;
    /* Garante que o botão esteja visível */
}



/* ========================
   LINKS & TEXTO
   ======================== */
a {
    color: var(--verde);
    font-weight: 600;
    text-decoration: none;
}



/* ========================
   CONTEÚDO PRINCIPAL
   ======================== */
.page-content {
    padding: 15px;
    background: var(--branco);


}

.block {
    margin-top: 0;
    margin-bottom: 15px;
    padding: 5px;
    background: var(--gelo);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--sombra);


}

/* ========================
   BOTÕES
   ======================== */
.button {

    font-size: 16px;
    color: var(--branco);
    background-color: var(--verde);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;

}


.button-cancelar {

    font-size: 16px;
    color: var(--branco);
    background-color: rgba(214, 79, 16, 0.842);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;

}

.button:hover {
    background-color: #16a456;
}

.button-cancelar:hover {
    background-color: rgba(172, 63, 13, 0.842);
}

/* ========================
   INPUTS & FORMULÁRIOS
   ========================*/
.input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    font-size: 14px;
    border: 1px solid var(--gelo);
    border-radius: 5px;
    outline: none;
}

/* ========================
   LISTA DE PARTICIPANTES
   ======================== */
#lista-participantes {
    list-style-type: none;
    padding: 0;
}

#lista-participantes li {
    background: var(--cinza);
    color: var(--preto);
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

/* ========================
   SWIPER SLIDER (CARROSSEL)
   ======================== */
.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================
   ESTILOS PARA O PERFIL
   ======================== */
.titulo-destaque {
    background-color: var(--preto);
    color: var(--branco);
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

.block-card-active-state {
    background-color: rgba(233, 43, 43, 0.2);
    padding: 15px;
    border-radius: 10px;
}

.card {
    background: var(--branco);
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--sombra);
    padding: 10px;

}

.card-content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
}

.card-content-input {
    width: 92.5%;
    padding: 10px;
    margin: 5px 0;
    font-size: 16px;
    border: 1px solid var(--cinza);
    border-radius: 5px;
    outline: none;
    background-color: rgba(235, 11, 11, 0.8);

}

.checkbox-wrap {

    width: 200px;
    height: 30px;
    font-size: 13px;

    margin-right: 60%;

    display: flex;
    align-items: center;

    padding-bottom: 0px;

}



/*1111111111111111111111111111111111111111111111111111111111111111111111111111*/
/* Estilos para a lista de favorecidos */
/* Estilos para a lista de favorecidos */
/* Estilos para a lista de favorecidos */
/* Estilos para a lista de favorecidos */
#lista-participantes {
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.favorecido-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 13px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.favorecido-item:hover {
    background-color: #f9f9f9;
    /* Efeito hover */
}

.favorecido-numero {
    font-weight: bold;
    width: 10px;
    /* Largura fixa para o número do favorecido */
    color: #2196f3;
    /* Cor azul para destacar o número */
    font-size: 14px;
}

.favorecido-nome {
    flex: 1;
    /* Ocupa o espaço restante */
    margin: 0 20px;
    font-size: 14px;
    color: #333;
    /* Cor escura para o nome */
    text-align: left;
}

.favorecido-chave-pix {
    width: 200px;
    /* Largura fixa para a chave Pix */
    text-align: right;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    /* Cursor de clique */
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

.favorecido-chave-pix:hover {
    background-color: #e0e0e0;
    /* Efeito hover */
}

.favorecido-chave-pix.copied {
    color: #21f372;
    /* Cor azul quando copiado */
    border-color: #21f380;
}

.checkbox-pagamento {
    margin-right: 5px;
}

.status-icon {
    margin: 0 10px;
    font-size: 12px;
    color: #4caf50;
    /* Cor verde para o ícone de check */
}

.status-icon.warning {
    color: #ff9800;
    /* Cor laranja para o ícone de alerta */
}

.ajuda {
    cursor: pointer;
    color: #2196f3;
    font-size: 18px;
    transition: color 0.3s ease;
}

.ajuda:hover {
    color: #1976d2;
    /* Efeito hover */
}

/*//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* Estilo personalizado para a lista no diálogo */
.toast-sucesso {
    background-color: #4caf4fb4;
    /* Verde */
    color: white;
}

.toast-erro {
    background-color: #f8857dbe;
    /* Vermelho */
    color: white;
}

.favorecido-item.concluido {
    background-color: #d7ffda;
    /* Verde claro */
    border-radius: 8px;
    padding: 10px;
    transition: background-color 0.3s ease;
}

#lista-comp-container {
    margin-top: 20px;
}

#lista-comp-participantes .favorecido-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 13px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.botao-compartilhar {
    background-color: var(--verde);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
}



/* ========================
   ESTILO PARA A LANDING PAGE
   ======================== */
.landing-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: var(--gelo);
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--sombra);
    text-align: center;
}

.landing-container h1 {
    font-size: 26px;
    color: var(--preto);
    margin-bottom: 10px;
}

.landing-container p {
    font-size: 16px;
    color: var(--preto);
}

.video-container {
    width: 100%;
    margin: 20px 0;
}

.video-container video {
    width: 100%;
    border-radius: 10px;
}

.indicador-info {
    font-size: 18px;
    font-weight: bold;
    color: var(--preto);
    margin-bottom: 15px;
}

/* ========================
   BOTÃO PARTICIPAR
   ======================== */
#participarBtn {
    background-color: var(--verde);
    color: var(--branco);
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

#participarBtn:hover {
    background-color: #16a456;
}

#participarBtn:active {
    transform: scale(0.98);
}

/* ========================
   RESPONSIVIDADE
   ======================== */
@media (max-width: 600px) {
    .landing-container {
        width: 90%;
        padding: 15px;
    }
}


.erro-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: var(--gelo);
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--sombra);
    text-align: center;
}

.erro-container h1 {
    font-size: 24px;
    color: var(--vermelho);
}

.erro-container p {
    font-size: 16px;
    color: var(--preto);
    margin-bottom: 20px;
}

.btn-voltar {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    color: var(--branco);
    background: var(--verde);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-voltar:hover {
    background: #16a456;
}

html,
body {
    touch-action: manipulation;
    /* Bloqueia o zoom no toque duplo */
}

.btn-perfil {
    display: flex;
    padding: 5px;
    align-items: center;
    justify-content: center;
    place-items: 5px;
    gap: 10px;

}

.botao-copiar-pix {
    width: 120px;
    /* Largura fixa */
    height: 35px;
    /* Altura fixa */
    background-color: #007bff;
    /* Azul padrão */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: bold;
}

.botao-copiar-pix:hover {
    background-color: #0056b3;
    /* Azul mais escuro no hover */
}

.botao-copiar-pix:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.botao-copiar-pix i {
    font-size: 16px;
}

.botao-copiar-pix:disabled {
    background-color: #cccccc;
    color: #666;
    cursor: not-allowed;
}

.log-console {
    margin-top: 10px;
    padding: 10px;
    background-color: #222;
    color: #00ff00;
    font-family: monospace;
    font-size: 12px;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 5px;
    display: none;
}



.error-log {
    margin-top: 10px;
    padding: 10px;
    background-color: #ffdddd;
    color: #d8000c;
    border-left: 4px solid #d8000c;
    display: none;
    font-size: 14px;
}






:root {
    /* Cores principais */
    --f7-theme-color: #007aff;
    --f7-theme-color-rgb: 0, 122, 255;

    /* Inputs padrão */
    --f7-input-outline-border-color: #bbb;
    --f7-input-outline-focused-border-color: #007aff;
    --f7-input-outline-border-radius: 6px;
    --f7-input-text-color: #111;
    --f7-input-placeholder-color: #999;
    --f7-label-text-color: #444;
    --f7-label-font-weight: 500;

    /* Mensagem de erro */
    --f7-input-error-text-color: #ff3b30;

    /* Botões */
    --f7-button-fill-bg-color: #007aff;
    --f7-button-fill-text-color: #fff;
    --f7-button-border-radius: 10px;
}

/* iOS Theme Ajustes */
.ios {
    --f7-input-height: 44px;
    --f7-input-font-size: 16px;
    --f7-input-outline-border-radius: 10px;
}

/* Dark Mode */
:root.dark,
.dark .ios {
    --f7-input-text-color: #fff;
    --f7-input-placeholder-color: #aaa;
    --f7-label-text-color: #ddd;
    --f7-input-outline-border-color: #444;
    --f7-input-outline-focused-border-color: #3399ff;
    --f7-button-fill-bg-color: #3399ff;
}

.item-input-outline .item-label {
    background: var(--branco) !important;
    padding: 0 4px;
}

.button-fill:hover {
    filter: brightness(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
    cursor: pointer;
    z-index: 10;
}

.toggle-password.active {
    color: #007aff;
}



.item-input-wrap input[type="password"]~.input-clear-button {
    display: none !important;
}

.item-input-wrap.no-clear .input-clear-button {
    display: none !important;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 999;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.title-logo {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.title-logo span {
    color: #00cc66;
}


/* =========================
   PRELOADER (Gerando cobrança)
   ========================= */

.preloader-inner:after {
    border-color: #4caf50 !important;
}

.dialog-preloader {
    background-color: #1e1e1e !important;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.dialog-preloader .dialog-title {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 500;
    margin-top: 8px;
}

.dialog-preloader .preloader {
    filter: brightness(120%);
}

/* Fundo atrás do preloader */
.preloader-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
}

/* =========================
   DIALOGS (Adicionar CPF / Pix / Alertas)
   ========================= */

.dialog {
    background-color: #1e1e1e !important;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
}

.dialog .dialog-title {
    color: #ffffff !important;
    font-weight: 600;
}

.dialog .dialog-text {
    color: #cfcfcf !important;
    font-size: 14px;
}

/* Inputs */
.dialog input,
.dialog .dialog-input {
    background-color: #121212 !important;
    color: #ffffff !important;
    border: 1px solid #4caf50 !important;
    border-radius: 8px;
}

.dialog input::placeholder {
    color: #777 !important;
}

/* Área dos botões */
.dialog .dialog-buttons {
    border-top: 1px solid #333 !important;
}

/* Botões */
.dialog .dialog-button {
    color: #64b5f6 !important;
    font-weight: 500;
}

/* Botão principal (Salvar / OK) */
.dialog .dialog-button.dialog-button-bold {
    color: #4caf50 !important;
    font-weight: 600;
}

/* =========================
   DESTAQUE AZUL (pedido pendente)
   ========================= */

.highlight-temporario {
    animation: destaqueFade 2s ease;
    border: 2px solid #3b82f6 !important;
    box-shadow: 0 0 12px #3b82f6;
}

@keyframes destaqueFade {
    0% {
        background-color: rgba(59, 130, 246, 0.15);
    }

    100% {
        background-color: transparent;
    }
}


.btn-cart {
    font-size: 24px;
    color: #333;
    position: relative;
}


.btn-cart[data-count]:after {
    content: attr(data-count);
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ff3b30;
    color: #fff;
    font-size: 10px;
    border-radius: 10px;
    padding: 2px 5px;
}

.btn-cart {
    width: 40px;
    height: 40px;
    background-color: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2%;
    margin-left: 5%;
    border-radius: 50%;
    border: 1px solid var(--gelo);
    font-size: 24px;
    color: var(--preto);
    position: relative;
}

.btn-cart[data-count="0"]::after {
    display: none !important;
}


/* Remove o 'X' (clear button) nativo do Chrome/Edge/Safari */
input::-webkit-clear-button,
input::-webkit-inner-spin-button {
    display: none;
}

/* Remove o ícone de 'limpar' específico do Edge */
input::-ms-clear {
    display: none;
}

/* Remove o ícone de 'olho' nativo do Edge (para não ficar com dois olhos) */
input::-ms-reveal {
    display: none;
}

/* Se você estiver usando Framework7 e a classe input-clear-button estiver ativa */
.input-clear-button {
    display: none !important;
}

/* --- Seção de Entrada Global (Samear) --- */

.btn-global-container {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    /* Linha sutil de divisão */
    text-align: center;
}

.text-global-instrucao {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 12px;
    font-weight: 500;
}

#btn-paraquedista {
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    font-weight: 600;
    letter-spacing: 0.3px;
}

#btn-paraquedista i {
    font-size: 1.1rem;
    vertical-align: middle;
    margin-right: 8px;
}

#btn-paraquedista:active {
    background-color: rgba(var(--f7-theme-color-blue-rgb), 0.05);
}

/* --- ANIMAÇÕES SAMEAR --- */



/* Brilho padrão para bolinhas paradas (Heartbeat) */
@keyframes heartbeat-realistic {
    0%, 100% { transform: scale(1); filter: brightness(1.1); }
    50% { transform: scale(1.15); filter: brightness(1.4); }
}

/* Pulo + Brilho Sincronizado para os 3 novatos */
@keyframes poin-bounce-brilhante {
    0% { transform: translateY(0) scale(1.1, 0.9); filter: brightness(1.1); }
    10% { transform: translateY(-15px) scale(1); filter: brightness(1.4); } /* Brilha no topo do pulo */
    20% { transform: translateY(0) scale(1.1, 0.9); filter: brightness(1.1); }
    50% { filter: brightness(1.3); } /* Mantém a pulsação durante o repouso */
    21%, 100% { transform: translateY(0) scale(1); }
}

/* Expansão da Aura (Sincronizada com o impacto da queda) */
@keyframes aura-expand {
    0%, 20% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    21% { opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(2.6); opacity: 0; }
}

/* --- CLASSES DOS MARCADORES --- */
.marker-samear {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.camada-pulso {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 2px currentColor; /* Cor definida via JS (corBorda) */
    transform: translate(-50%, -50%);
    animation: aura-expand 2s infinite;
    z-index: 0;
    pointer-events: none;
    box-sizing: border-box;
}

.bolinha {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    box-sizing: border-box;
    /* Sombras internas para efeito 3D */
    box-shadow:
        inset -3px -3px 6px rgba(0,0,0,0.3),
        inset 3px 3px 6px rgba(255,255,255,0.4);
    background-image: radial-gradient(
        circle at 35% 35%,
        rgba(255,255,255,0.6) 0%,
        rgba(255,255,255,0) 60%
    );
    /* Animação padrão para quem está parado */
    animation: heartbeat-realistic 2s ease-in-out infinite;
}

/* Classe aplicada via JS aos 3 usuários mais recentes */
.pulinho-recente {
    animation: poin-bounce-brilhante 2s ease-in-out infinite !important;
}
/* Ajuste para a aura não vazar muito na legenda */
.col-60 .aura {
    box-shadow: 0 0 0 1px currentColor; /* Aura mais fina na legenda */
}

/* Garante que o container da legenda tenha espaço para o pulo */
.col-60 .marker-samear {
    overflow: visible; 
    position: relative;
}

/* Desativa o pulo excessivo na legenda para não bater no texto de cima */
.col-60 .pulinho-recente {
    animation-duration: 3s !important; /* Mais lento na legenda para ser didático */
}

/* --- ESTILOS EXCLUSIVOS DA LEGENDA --- */

/* Container de cada item da legenda */
.item-legenda {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    height: 24px;
}

/* Base do marcador na legenda (Versão reduzida do .marker-samear) */
.marker-legenda {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
}

/* Aura idêntica à do mapa, mas escala menor */
.aura-legenda {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 1.5px currentColor;
    transform: translate(-50%, -50%);
    animation: aura-expand 2s infinite; /* Usa a mesma animação do mapa */
    z-index: 0;
}

/* Bolinha com o mesmo efeito 3D e Sombras do Mapa */
.bolinha-legenda {
   position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    box-sizing: border-box;
    box-shadow:
        inset -2px -2px 4px rgba(0,0,0,0.3),
        inset 2px 2px 4px rgba(255,255,255,0.4);
    background-image: radial-gradient(
        circle at 35% 35%,
        rgba(255,255,255,0.6) 0%,
        rgba(255,255,255,0) 60%
    );
    /* Heartbeat padrão */
    animation: heartbeat-realistic 2s ease-in-out infinite;
}

/* O pulinho específico para a legenda (limitado para não subir no texto) */
.pulinho-legenda {
    animation: poin-bounce-legenda 2s ease-in-out infinite !important;
}

@keyframes poin-bounce-legenda {
    0% { transform: translateY(0) scale(1.1, 0.9); filter: brightness(1.1); }
    10% { transform: translateY(-8px) scale(1); filter: brightness(1.4); } /* Pulo menor (8px) */
    20% { transform: translateY(0) scale(1.1, 0.9); filter: brightness(1.1); }
    21%, 100% { transform: translateY(0) scale(1); }
}
/*sino*/

/* Base do botão: Exatamente como o seu .btn-cart */
#btn-notificacoes {
    width: 40px;
    height: 40px;
    background-color: var(--branco); /* Usa suas variáveis */
    display: flex !important; /* Mantém sempre flex para não sumir */
    align-items: center;
    justify-content: center;
    margin-right: 2%;
    margin-left: 5%;
    border-radius: 50%;
    border: 1px solid var(--gelo);
    font-size: 24px;
    color: var(--preto);
    position: relative;
    text-decoration: none;
}

/* O Badge (Bolinha): Exatamente como o seu .btn-cart[data-count]:after */
#btn-notificacoes[data-count]:after {
    content: attr(data-count);
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ff3b30;
    color: #fff;
    font-size: 10px;
    border-radius: 10px;
    padding: 2px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 10px;
}

/* Regra para esconder a bolinha quando for zero, sem sumir com o sino */
#btn-notificacoes[data-count="0"]::after,
#btn-notificacoes.hide-badge::after {
    display: none !important;
}

/* --- Estilo das Notificações na Lista (Riscado) --- */
.notificacao-lida .item-title {
    text-decoration: line-through !important;
    color: #999 !important;
    opacity: 0.7;
}

.notificacao-nova .item-title {
    font-weight: bold !important;
    color: #000 !important;
}

/* Garante que o sino fique verde quando estiver com a classe active */
#btn-notificacoes.active {
    color: var(--verde) !important;
    border-color: var(--verde) !important;
    font-weight: bold;
}

#btn-notificacoes.active i {
    color: var(--verde) !important;
    /* Opcional: troca para o ícone preenchido quando ativo */
    content: "\f1f0"; /* Código do ri-notification-3-fill se quiser trocar */
}

/* Quando estiver ativo (lendo as notificações), paramos o balanço */
#btn-notificacoes.active i {
    animation: none !important;
}   
/* --- Animação do Sino --- */

/* Quando o contador for maior que zero, o ícone dentro do botão balança */
#btn-notificacoes:not([data-count="0"]) i {
    display: inline-block; /* Necessário para o transform funcionar */
    transform-origin: top; /* Ponto de rotação no topo do sino */
    animation: balancoSino 3s ease-in-out infinite;
}

@keyframes balancoSino {
    0%, 70%, 100% { transform: rotate(0deg); } /* Fica parado a maior parte do tempo */
    75% { transform: rotate(15deg); }   /* Primeira batida (Direita) */
    80% { transform: rotate(-15deg); }  /* Primeira batida (Esquerda) */
    85% { transform: rotate(10deg); }   /* Segunda batida (Direita) */
    90% { transform: rotate(-10deg); }  /* Segunda batida (Esquerda) */
}

/* Opcional: Fazer o badge (bolinha vermelha) pulsar levemente junto */
#btn-notificacoes:not([data-count="0"]):after {
    animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(255, 59, 48, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/*CSS PAGINA LOGIN REFORMULADA*/

/*OLHO DO PERFIL*/

/* Estilo para dados sensíveis quando escondidos */
.sensitive-data.hidden-info {
    filter: blur(5px);
    user-select: none; /* Impede copiar o texto enquanto está escondido */
    transition: filter 0.1s ease;
}

/* Opcional: cor diferente para o olho quando desativado */
.ri-eye-off-line {
    color: #8e8e93 !important;
}

/*REPORTAR ERRO MODAL*/

/* Ajuste de Altura do Sheet (Meio da tela) */
#sheet-reportar-erro {
    height: 50vh !important;
    border-radius: 24px 24px 0 0;
}

/* Customização do Campo de Texto Estilo Bloco */
#descricao-erro {
    height: 100px !important;
    background: #f4f4f7 !important;
    border-radius: 14px !important;
    padding: 15px !important;
    font-size: 16px !important;
    color: #333 !important;
    border: none !important;
    
    /* Mata a borda azul de seleção */
    outline: none !important;
    box-shadow: none !important;
    
    display: block;
    width: 100%;
    box-sizing: border-box;
    resize: none;
    transition: background 0.2s ease;
}

#descricao-erro:focus {
    background: #ebebef !important;
    outline: none !important;
}

/* Limpeza de classes do Framework7 que forçam bordas */
#sheet-reportar-erro .item-input-wrap:after,
#sheet-reportar-erro .item-input-wrap:before {
    display: none !important;
}

/*////////////////////////////////


/* Botão com efeito de pressão ao clicar */
#btn-enviar-reporte {
    transition: transform 0.1s active, opacity 0.2s;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3); /* Sombra suave verde */
    margin-top: 10px;
}

#btn-enviar-reporte:active {
    transform: scale(0.96); /* Efeito de apertar */
    opacity: 0.9;
}

/* Melhorar o espaçamento do bloco */
#sheet-reportar-erro .block {
    margin-top: 15px;
    margin-bottom: 15px;
}