/* ============================================================
   DROPDOWN DE NOTIFICAÇÕES — Discord Style
============================================================ */

/* Caixa geral do dropdown */
.notif-dropdown {
    width: 360px !important;
    background: #161616 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 10px !important;
    margin-top: 10px !important;
    padding: 0 !important;
    z-index: 3000 !important;
}

/* Área rolável */
#notifLista {
    max-height: 380px;
    overflow-y: auto;
    padding: 6px 0;
}

/* Scrollbar elegante */
#notifLista::-webkit-scrollbar {
    width: 8px;
}
#notifLista::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}
#notifLista::-webkit-scrollbar-track {
    background: transparent;
}

/* ============================================================
   TÍTULOS DE GRUPOS
============================================================ */
.notif-grupo-titulo {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #999;
    padding: 4px 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* ============================================================
   CARTÕES DE NOTIFICAÇÃO — ESTILO DISCORD
============================================================ */
.notif-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    margin: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s;
}

.notif-card:hover {
    background: rgba(255, 255, 255, 0.10);
}

/* Não lida (destacada) */
.notif-nao-lida {
    background: rgba(255, 180, 0, 0.18);
    border-left: 3px solid #ffb400;
}

/* Lida */
.notif-lida {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
}

/* Ícone */
.notif-icon-wrapper {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

/* Texto */
.notif-msg {
    font-size: 0.86rem;
    font-weight: 500;
    color: #f2f2f2;
    line-height: 1.2rem;
}

/* Hora */
.notif-time {
    font-size: 0.7rem;
    color: #bdbdbd;
    margin-top: 3px;
}


/* ============================================================
   ÍCONES COLORIDOS POR TIPO
============================================================ */
.fa-chart-line      { color: #4aa3ff !important; }
.fa-comment-dots    { color: #9e86ff !important; }
.fa-circle-check    { color: #4aff9e !important; }
.fa-rotate-left     { color: #ffdd44 !important; }
.fa-triangle-exclamation { color: #ff6b6b !important; }
.fa-info-circle     { color: #bbbbbb !important; }

/* ============================================================
   Z-INDEX E POSICIONAMENTO
============================================================ */

.navbar-custom {
    z-index: 2000 !important;
}

#notifBtn + .dropdown-menu {
    z-index: 3000 !important;
}

#notifWrapper {
    position: relative;
}

/* ============================================
   HEADER DO DROPDOWN (Notificações + botão)
============================================ */
.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: transparent;
}

.notif-titulo {
    color: #f1f1f1;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Botão "Marcar todas" — estilo moderno */
.notif-limpar {
    font-size: 0.78rem;
    padding: 4px 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    cursor: pointer;
    color: #8aff8a;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    user-select: none;
    opacity: 0.5;
}

.notif-limpar:hover {
    background: rgba(255,255,255,0.16);
    color: #aaffaa;
    opacity: 1;
}

.notif-limpar:active {
    background: rgba(255,255,255,0.24);
}

#notifBtn #notifCount {
    top: -4px !important;          /* sobe levemente */
    left: 50% !important;          /* empurra mais para a direita */
    transform: translate(0, -50%) !important; /* mantém alinhado sem jogar muito */
}

#notifWrapper {
    margin-right: 28px;   /* afasta do nome */
}
