/*----------------------------------------*/
/*  1.  Notification CSS
/*----------------------------------------*/
.nt-mg-b-30{
	margin-bottom:30px;
}
.nt-mg-b-40{
	margin-bottom:40px;
}
.notification-list, .button-ad-wrap{
	background:#fff;
	padding:20px;
}
.notification-bt .btn{
	border-radius:0px;
	margin-right:10px;
}

/* Animação do indicador de notificações */
.indicator-nt {
    position: absolute;
    height: 8px;
    width: 8px;
    background: #ff4444;
    border-radius: 50%;
    top: -2px;
    right: -2px;
    transition: all 0.3s ease;
}

.indicator-nt.heartbit {
    animation: heartbit 1.5s ease-in-out infinite;
    background: #ff4444;
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
}

@keyframes heartbit {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* Melhorias na lista de notificações */
.notification-menu {
    max-height: 60vh !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f1f1f1;
    padding: 0;
    margin: 0;
    list-style: none;
}

.notification-menu::-webkit-scrollbar {
    width: 6px;
}

.notification-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.notification-menu::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
}

.notification-menu::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Estilo para notificações clicáveis */
.notification-menu li a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.notification-menu li a:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

/* Animação de entrada para novas notificações */
.notification-menu li {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estilo para notificações não lidas */
.notification-menu li.unread {
    border-left: 3px solid #007bff;
    background: #f8f9fa;
}

/* Estilo para notificações lidas */
.notification-menu li.read {
    opacity: 0.7;
}

/* Responsividade para notificações */
@media (max-width: 768px) {
    .notification-menu {
        max-height: 250px;
    }
    
    .notification-content h2 {
        font-size: 13px;
    }
    
    .notification-content p {
        font-size: 11px;
    }
    
    .notification-date {
        font-size: 10px;
    }
}

/* Novos estilos para as classes adicionadas */
.notification-dropdown {
    position: relative;
}

.notification-toggle {
    position: relative;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.notification-toggle:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.notification-item {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-link {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 0;
}

.notification-content h2 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
}

.notification-content p {
    font-size: 12px;
    margin: 0 0 5px 0;
    color: #666;
    line-height: 1.4;
}

.notification-date {
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.notification-view {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.view-all-notifications {
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-notifications:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Estilos para o dropdown de notificações */
.notification-author {
    min-width: 320px;
    max-width: 400px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0;
    margin-top: 10px;
}

.notification-single-top {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    border-radius: 8px 8px 0 0;
}

.notification-single-top h1 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

/* Estilos para o usuário dropdown */
.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.admin-name {
    font-weight: 500;
    margin-right: 5px;
}

/* Estilos para o botão de configurações */
.settings-toggle {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.settings-toggle:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

/* Melhorias na responsividade */
@media (max-width: 576px) {
    .notification-author {
        min-width: 280px;
        max-width: 320px;
    }
    
    .user-avatar {
        width: 30px;
        height: 30px;
    }
    
    .admin-name {
        font-size: 14px;
    }
    
    .notification-content h2 {
        font-size: 12px;
    }
    
    .notification-content p {
        font-size: 10px;
    }
} 