/* assets/css/style_Padrao.css - VERSÃO FINAL (Menu Tímido + Notificações Mobile Fixas) */

/* --- 1. RESET E BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #0d0d0d;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 70px; 
    padding-bottom: 70px; 
}

a { text-decoration: none; color: inherit; }

/* --- 2. HEADER SUPERIOR (DESKTOP) --- */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px;
    background-color: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid #333;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 30px; z-index: 1000;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out;
}

/* Menu Tímido (Esconde para cima) */
.header.header-hidden { transform: translateY(-100%); }

.logo-container img { height: 35px; width: auto; transition: transform 0.3s; }
.logo-container img:hover { transform: scale(1.05); }

/* Ícones Desktop */
.header-nav.desktop-only { display: flex; align-items: center; gap: 25px; }

.nav-icon {
    font-size: 1.4rem; color: #888; transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; border-radius: 50%;
}
.nav-icon:hover, .nav-icon.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-icon.active { color: #d35400; } 

/* Caracol Desktop */
.notification-container { position: relative; cursor: pointer; }
.icon-turbo { font-size: 1.6rem; }
.notif-badge {
    position: absolute; top: -5px; right: -8px;
    background: #d35400; color: #fff; font-size: 0.7rem; font-weight: bold;
    padding: 2px 5px; border-radius: 10px; border: 2px solid #000;
}

/* Dropdown Desktop (Padrão) */
.notif-dropdown {
    display: none; position: absolute; top: 55px; right: -10px;
    width: 320px; background: #1a1a1a; border: 1px solid #333;
    border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    z-index: 1001; overflow: hidden;
    transition: opacity 0.2s;
}
.notif-dropdown.active { display: block; }

.notif-header { padding: 12px; background: #000; border-bottom: 1px solid #333; font-weight: bold; color:#fff; display: flex; justify-content: space-between; }
.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item { padding: 12px; border-bottom: 1px solid #333; color: #ccc; cursor: pointer; display: flex; gap: 10px; align-items: center; font-size: 0.9em; }
.notif-item:hover { background: #222; }
.notif-item.unread { border-left: 3px solid #d35400; background: rgba(211, 84, 0, 0.1); }

/* --- 3. MENU INFERIOR (MOBILE) --- */
.mobile-bottom-nav {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 65px;
    background-color: #000; 
    border-top: 1px solid #333;
    display: flex; justify-content: space-around; align-items: center;
    z-index: 2000; 
    padding-bottom: 5px; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
    transition: transform 0.3s ease-in-out;
}

/* Menu Tímido (Esconde para baixo) */
.mobile-bottom-nav.nav-hidden { transform: translateY(100%); }

.mobile-nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #666; text-decoration: none; width: 100%; height: 100%;
    transition: color 0.2s;
}

.mobile-nav-icon { font-size: 1.2rem; margin-bottom: 4px; }
.mobile-nav-label { font-size: 0.65rem; text-transform: uppercase; font-weight: bold; letter-spacing: 0.5px; }

.mobile-nav-item.active { color: #d35400; }
.mobile-nav-item.active .mobile-nav-icon { transform: translateY(-2px); transition: transform 0.2s; }

.snail-icon { font-size: 1.4rem !important; }

/* --- 4. RESPONSIVIDADE --- */

@media (max-width: 768px) {
    .desktop-only { display: none !important; } 
    .mobile-bottom-nav { display: flex !important; } 
    
    .header { justify-content: center; height: 60px; padding: 0; }
    .logo-container img { height: 30px; }
    body { padding-top: 60px; }
    
    /* --- NOVO: Notificações Mobile (Brotam do chão) --- */
    .notif-dropdown-mobile {
        display: none; 
        position: fixed; 
        bottom: 70px; /* Acima do menu inferior */
        right: 10px;  /* Alinhado à direita (perto do caracol) */
        width: 300px;
        max-width: 90%; 
        background: #1a1a1a; 
        border: 1px solid #d35400; /* Borda laranja pra destacar */
        border-radius: 10px; 
        box-shadow: 0 -5px 30px rgba(0,0,0,0.9);
        z-index: 2001; 
        overflow: hidden;
    }
    .notif-dropdown-mobile.active { display: block; animation: slideUp 0.3s ease; }
    
    @keyframes slideUp {
        from { transform: translateY(20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav { display: none !important; } 
    .desktop-only { display: flex !important; } 
    body { padding-bottom: 0; } 
    
    /* Garante que o mobile não apareça no desktop */
    .notif-dropdown-mobile { display: none !important; }
}