@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    /* Ajustado para VERMELHO PLAXMETAL conforme seu print */
    --brand-color: #dc3545; 
    --brand-light: #f8d7da; 
    --text-color: #333;
    --bg-color: #f8f9fa;
}

/* --- COMPORTAMENTO DE APP --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    
    /* Impede selecionar texto (cara de app) */
    -webkit-user-select: none;
    user-select: none;
    
    /* Impede o "puxar para atualizar" nativo que atrapalha */
    overscroll-behavior-y: contain;
    
    /* Remove delay de toque no iPhone */
    touch-action: manipulation;
    
    /* Espaço para a barra inferior não cobrir o conteúdo */
    padding-bottom: 90px; 
}

/* Remove scrollbar feia mas permite rolar */
::-webkit-scrollbar { width: 0px; background: transparent; }

/* --- BARRA SUPERIOR (HEADER) --- */
.navbar {
    background: var(--brand-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 60px; /* Altura fixa de app */
    padding: 0 !important;
    position: sticky; top: 0; z-index: 1000;
}
.navbar-brand { font-size: 1.1rem !important; font-weight: 600; color: #fff !important; }
.logo-navbar { max-height: 30px !important; background: #fff; padding: 2px 5px; border-radius: 4px; margin-right: 10px; }

/* --- BOTÕES E INPUTS --- */
.btn { border-radius: 12px; font-weight: 500; letter-spacing: 0.5px; padding: 12px; border: none; }
.btn:active { transform: scale(0.98); } /* Efeito de clique */
.form-control { 
    background-color: #fff; border: 1px solid #e0e0e0; 
    border-radius: 12px; padding: 12px; font-size: 1rem; 
}
.form-control:focus { box-shadow: none; border-color: var(--brand-color); }

/* --- BARRA DE NAVEGAÇÃO INFERIOR (BOTTOM TAB) --- */
.bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%;
    height: 70px;
    background: #fff;
    display: flex; justify-content: space-around; align-items: center;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 9999;
    border-top-left-radius: 20px; border-top-right-radius: 20px;
}

.nav-item-app {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #aaa; text-decoration: none; width: 25%; height: 100%;
    transition: all 0.2s;
    font-size: 0.7rem; font-weight: 500;
}

.nav-item-app i { font-size: 1.4rem; margin-bottom: 4px; transition: transform 0.2s; }
.nav-item-app.active { color: var(--brand-color); }
.nav-item-app.active i { transform: translateY(-3px); }

/* --- CORREÇÃO DO BOTÃO CENTRAL (BOLA VERMELHA) --- */
.nav-item-app.fab {
    position: relative; 
    top: -25px; /* Faz flutuar para fora da barra */
    background: var(--brand-color); 
    color: #fff;
    width: 65px;  /* Levemente maior */
    height: 65px; 
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4); /* Sombra avermelhada */
    
    /* SEGREDOS DO ALINHAMENTO PERFEITO */
    display: flex !important;
    align-items: center !important;     /* Centro Vertical */
    justify-content: center !important; /* Centro Horizontal */
    padding: 0 !important;
    text-decoration: none !important;
}

.nav-item-app.fab i { 
    font-size: 1.8rem; 
    margin: 0 !important; 
    padding: 0 !important;
    line-height: 1 !important; /* Remove altura de linha extra */
    transform: none !important; /* Remove animação de subida */
}
.nav-item-app.fab span { display: none; } /* Esconde texto no botão redondo */

/* --- ANIMAÇÃO DE TROCA DE TELA --- */
.view-section {
    animation: fadeIn 0.3s ease-in-out;
    padding-bottom: 20px;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- OUTROS --- */
.card { border: none; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 15px; background: #fff; }
.logo-login { max-width: 150px; margin-bottom: 20px; }
.icon-circle { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 10px; }
.bg-brand-light { background: var(--brand-light); color: var(--brand-color); }

/* Espaço para Ads */
.ad-container {
    width: 100%; min-height: 90px;
    background-color: #f1f1f1;
    margin-top: 15px; text-align: center;
    overflow: hidden; border-radius: 8px;
    display: flex; justify-content: center; align-items: center;
    border: 1px dashed #ccc;
}