/* Estilos para notificações */

.notif-empty {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
}

.notif-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    cursor: pointer;
    transition: background 0.15s;
    align-items: flex-start;
    border-radius: 8px;
    border-bottom: 1px solid #f0f0f0;
}

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

.notif-item:hover {
    background: #f9f9f9;
}

.notif-item.nao-lida {
    background: #f0f4ff;
    font-weight: 500;
}

.notif-item.nao-lida:hover {
    background: #e8eff8;
}

.notif-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
}

.notif-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notif-header {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.notif-body {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.notif-body span {
    flex: 1;
}

.notif-delete {
    color: #999;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, color 0.2s;
    flex-shrink: 0;
}

.notif-item:hover .notif-delete {
    opacity: 1;
}

.notif-delete:hover {
    color: #ff4444;
}

.notif-time {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* Modal de confirmação */
#popupConfirm {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    display: none;
    z-index: 10001;
    max-width: 300px;
}

#popupConfirm.active {
    display: block;
}

.popup-content {
    margin-bottom: 10px;
    font-size: 13px;
    color: #333;
}

.popup-buttons {
    display: flex;
    gap: 8px;
}

.popup-buttons button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

#btnConfirmDelete {
    background: #ff4444;
    color: white;
}

#btnConfirmDelete:hover {
    background: #ff2222;
}

.btn-cancel-delete {
    background: #f0f0f0;
    color: #666;
}

.btn-cancel-delete:hover {
    background: #e0e0e0;
}

/* Responsivo */
@media (max-width: 768px) {
    .notif-item {
        padding: 10px;
    }

    .notif-avatar {
        width: 35px;
        height: 35px;
    }

    .notif-header {
        font-size: 12px;
    }

    .notif-body {
        font-size: 11px;
    }

    .notif-time {
        font-size: 10px;
    }
}
