/* --- FUNDO DO DASHBOARD --- */
body.dashboard-gamified {
    background: url('/assets/bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

/* --- DESIGN DASHBOARD: MURAL DE AVISOS --- */

/* Layout Principal: Menu Lateral (300px) + Mural (Resto) */
.mural-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    align-items: start;
}

/* --- BARRA LATERAL (Mini Perfil + Menu) --- */
.sidebar-tools {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cartão Mini Perfil (Compacto) */
.mini-profile {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 3px solid #f5d27c;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(5px);
}
.mini-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}
.mini-info h3 { margin: 0; font-size: 16px; color: #f5d27c; text-transform: uppercase; }
.mini-info span { font-size: 12px; color: #aaa; display: block; }
.mini-info small { font-size: 11px; color: #0f0; }

/* Menu Vertical de Imagens */
.vertical-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.v-menu-btn {
    display: block;
    height: 60px; /* Mais fino para ser menu */
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    transition: all 0.2s;
}
.v-menu-btn:hover { transform: translateX(5px); border-color: #f5d27c; }
.v-menu-btn img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.4);
    transition: filter 0.2s;
}
.v-menu-btn:hover img { filter: brightness(0.8); }
.v-label {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; padding-left: 20px;
    color: #fff; font-weight: bold; text-transform: uppercase; font-size: 14px;
    text-shadow: 1px 1px 3px #000;
}

/* --- O MURAL DE AVISOS (CENTRAL) --- */
.mural-header {
    background: rgba(245, 210, 124, 0.1);
    border-left: 5px solid #f5d27c;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}
.mural-header h2 { margin: 0; color: #fff; font-size: 24px; text-transform: uppercase; letter-spacing: 1px; }
.mural-header p { margin: 5px 0 0 0; color: #ccc; font-size: 13px; }

/* Postagem no Mural */
.mural-post {
    background: rgba(16, 20, 24, 0.95);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}
.mural-post:hover { border-color: rgba(245, 210, 124, 0.3); }

.post-header {
    background: rgba(0,0,0,0.3);
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: center;
}
.post-tag {
    background: #333; color: #f5d27c; font-size: 10px; font-weight: bold;
    padding: 3px 8px; border-radius: 4px; text-transform: uppercase;
}
.post-date { color: #666; font-size: 12px; }

.post-body { padding: 20px; }
.post-title { margin-top: 0; color: #e0e0e0; font-size: 18px; margin-bottom: 10px; }
.post-content { color: #aaa; font-size: 14px; line-height: 1.6; }

/* Responsivo */
@media (max-width: 768px) {
    .mural-container { grid-template-columns: 1fr; }
    .sidebar-tools { order: 2; }
    .mural-section { order: 1; }
}

/* --- HEADER GAMIFICADO (HUD) --- */

/* Barra Principal Fixa no Topo */
.gamified-header {
    background: rgba(12, 12, 14, 0.98);
    border-bottom: 2px solid #f5d27c;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

/* LOGO DE IMAGEM (Ajustado para logo.png) */
.header-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 0;
    text-decoration: none;
}

.header-logo img {
    max-height: 50px; /* Altura máxima para caber na barra */
    width: auto;
    object-fit: contain;
    transition: transform 0.2s;
}

.header-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(245, 210, 124, 0.5));
}

/* Navegação Central (Links) */
.header-nav {
    display: flex;
    gap: 5px;
}

.nav-link {
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(245, 210, 124, 0.3);
    text-shadow: 0 0 5px rgba(245, 210, 124, 0.5);
}

/* Área do Usuário (Direita) */
.header-user-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-display {
    text-align: right;
    font-size: 12px;
    line-height: 1.2;
}
.user-display b { color: #f5d27c; display: block; font-size: 13px; }
.user-display span { color: #777; }

.btn-logout {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid #ff4757;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.2s;
}
.btn-logout:hover {
    background: #ff4757;
    color: #fff;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .gamified-header { padding: 0 15px; height: 50px; }
    .header-nav { display: none; }
    .user-display { display: none; }
}

